team

Create Team Role

Changed on

Add a custom role, under the rules of editing one (milestone G).

post/api/v1/team/roles

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/team/roles
  • Auth: none declared

Request body

namestring required
descriptionstring required
permissionsTenantPermission[] required

Response

Successful Response

idstring uuid required
kind'ADMIN' | 'MEMBER' | 'CUSTOM' required

A role's kind. Every organization has one ADMIN and one MEMBER role; CUSTOM roles are ones an organization adds (milestone G).

namestring required
descriptionstring required
permissionsTenantPermission[] required

Changes