Skip to content

Unassign a client role app instance target

Request

OAuth 2.0 scope:
  • okta.roles.manage

Unassigns an app instance target from a role assignment to a client app

Note: You can't remove the last app instance target from a role assignment. If you need a role assignment that applies to all the apps, delete the role assignment with the instance target and create another one. See Unassign a client role.

Path
clientIdstringrequired

client_id of the app

Example:52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD
roleAssignmentIdstringrequired

The id of the role assignment

Example:JBCUYUC7IRCVGS27IFCE2SKO
appNamestringrequired

Name of the app definition (the OIN catalog app key name)

Example:google
appIdstringrequired

Application ID

Example:0oafxqCAJWWGELFTYASJ
curl -i -X DELETE \
  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ

Responses

No Content

Response
No content