Roles

Create role

Creates custom role.

post/api/v1/roles

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/roles
  • Auth
    API key in header Authorization

Request body */*

namestring required
permissionsstring[] required

Example request

{
  "name": "Finance manager",
  "permissions": [
    "[\"TransactionCreate\"",
    "\"TransactionView\"]"
  ]
}

Response

OK

created_atstring required
idstring required
is_globalboolean
namestring required
permissionsstring[] required
updated_atstring required

Example response

{
  "created_at": "2026-02-13T10:00:00Z",
  "id": "00000000-0000-0000-0000-000000000001",
  "name": "Finance manager",
  "permissions": [
    "[\"TransactionCreate\"",
    "\"TransactionView\"]"
  ],
  "updated_at": "2026-02-13T10:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.