Skip to content

Replaces administrators as a global administrator or Workflow configuration manager.

PUT
/api/workspace/workflow/configuration/workflow-definitions/{workflowDefinitionId}/security
curl --request PUT \
--url https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/security \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "RoleIds": [ "example" ], "GroupIds": [ "example" ], "ExpectedRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "OperationId": "example" }'
workflowDefinitionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

object
RoleIds
Array<string>
nullable
GroupIds
Array<string>
nullable
ExpectedRowVersion
string format: uuid
OperationId
string
nullable
Examplegenerated
{
"RoleIds": [
"example"
],
"GroupIds": [
"example"
],
"ExpectedRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"OperationId": "example"
}

OK

Media typeapplication/json
object
Data
object
Security
object
DefinitionId
string
nullable
Roles
Array<object>
nullable
object
Id
string
nullable
DisplayName
string
nullable
Groups
Array<object>
nullable
object
Id
string
nullable
DisplayName
string
nullable
RowVersion
string format: uuid
CanUpdate
boolean
Replayed
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}