POST /api/v1/iam/roles/{roleIdOrLabel}/permissions/{permissionType}
Creates a permission (specified by permissionType
) for a Custom Role
Servers
- https://{yourOktaDomain}
Path parameters
Name | Type | Required | Description |
---|---|---|---|
permissionType |
String | Yes |
An okta permission type |
roleIdOrLabel |
String | Yes |
|
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
conditions |
Object | No |
Conditions for further restricting a permission |
conditions.include |
Object | No |
Include attributes with specific values for the permission |
conditions.exclude |
Object | No |
Exclude attributes with specific values for the permission |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.