owner role is system-assigned at creation and cannot be granted here.curl --location -g --request POST 'https:///api/v2/workflows//permissions' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"subject_type": "user",
"subject_id": "string",
"relation": "admin"
}'{
"success": true,
"message": "string",
"data": {
"workflow_id": 0,
"subject_type": "string",
"subject_id": "string",
"subject_name": "string",
"relation": "string",
"granted_at": "string",
"granted_by": {
"user_id": "string",
"email": "[email protected]",
"name": "string"
}
}
}