Create Permission

Body Params

Permission resource

string
string
length between 1 and 26

[Required on Create] The ID of the application that this permission belongs to.

string
enum
length between 1 and 45

[Required on Create] Enum representing the type of the permission. Only CUSTOM permission types can be created.

  • PREDEFINED: [Read-only] A predefined permission. These permissions are created by Wristband.
  • CUSTOM: A custom permission that is created by an end user.
Allowed:
string
length between 1 and 200

[Required on Create] The permission value. This value must be unique (case-insensitive) per application.

string
length between 1 and 500

Optional description of the permission.

string
enum
length between 1 and 45

[Required on Create] Enum representing which tenants a permission should be visible to.

  • ALL: The permission is visible to all tenants, and it can be assigned to tenant-owned roles and permission groups. Useful for application permissions that can be assigned to tenant-level roles or permission groups.
  • NONE: The permission is not visible to any tenant, and it cannot be assigned to tenant-owned roles or permission groups. Useful for internal application permissions that should never be assigned at the tenant level.
Allowed:
string
Responses

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json