OAuth roles endpoints

Use these endpoints to view roles, assign roles to identities, and revoke roles from identities. See a role summary at OAuth roles. All APIs require the Admin scope.

API endpoint

Summary

Required role (Admin can call all endpoints)

POST OAuth/ListRoles

Lists all users with OAuth roles

Application Owner, Auditor

POST OAuth/GetRole

Returns the caller's OAuth role

Any

POST OAuth/GrantRole

Grants an OAuth role to a user

Application Owner, Application Maintainer

POST OAuth/RevokeRole

Revokes an OAuth role from a user

Application Owner, Application Maintainer