team

This organization's roles, Admin first, and what each grants.

Permissions come back in enum declaration order, not frozenset order, so the response is stable.

get/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

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

    • breaking

      removed the required property / from the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • warning

      added the new ALLOW_AI_AUTONOMY enum value to the // response property for the response status

    • warning

      added the new MANAGE_ACTIONS enum value to the // response property for the response status

    • warning

      added the new MANAGE_BOOKINGS enum value to the // response property for the response status

    • warning

      added the new MANAGE_CAMPAIGNS enum value to the // response property for the response status

    • warning

      added the new MANAGE_CONTENT enum value to the // response property for the response status

    • warning

      added the new MANAGE_CUSTOMERS enum value to the // response property for the response status

    • warning

      added the new MANAGE_DASHBOARDS enum value to the // response property for the response status

    • warning

      added the new MANAGE_INTEGRATIONS enum value to the // response property for the response status

    • warning

      added the new MANAGE_KNOWLEDGE_BASES enum value to the // response property for the response status

    • warning

      added the new REPLY_TO_CONVERSATIONS enum value to the // response property for the response status

    • warning

      added the new REVIEW_CONVERSATIONS enum value to the // response property for the response status