Get Permission Rule

Get Permission Rule

Each rule contains information about the principal and the access rights assigned.

Request
URI
GET
https://{api_host}/vco/api/workflows/{id}/permissions/{ruleId}
COPY
Path Parameters
string
Required
string
Required

Responses
200

The request is successful

Returns permission of type(s) application/json
"permission Object"
string
principal
Optional

principal

string
rights
Optional

rights

string
href
Optional

href

object
relations
Optional

relations


401

The user is not authorized

Operation doesn't return any data structure

404

Can not find a workflow with the specified ID, the user does not have 'read' access rights for that workflow, or the permission rule with the specified ID does not exist

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/workflows/{id}/permissions/{ruleId}