Roles

Add scope to role.

<div> <code>create:role_scopes</code> </div>
post/api/v1/roles/{role_id}/scopes

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/roles/{role_id}/scopes
  • Auth: HTTP bearer

Path parameters

role_idstring required

The role id.

Request body

scope_idstring required

The scope identifier.

Response

Role scope successfully added.

codestring

Response code.

messagestring

Response message.

Example response

{
  "code": "ROLE_SCOPE_ADDED",
  "message": "Scope added to role"
}

Changes