POST /api/v1/iam/roles/{roleIdOrLabel}/permissions/{permissionType}

Creates a permission (specified by permissionType) for a Custom Role

Servers

Path parameters

Name Type Required Description
permissionType String Yes

An okta permission type

roleIdOrLabel String Yes

id or label of the Role

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.