v1

latestOpenAPI 3.0.12026-08-0688138402.2 KB
Staff accounts

Retrieve a single staff account

Returns a staff account related to the current user, based on the given id.

get/staff_accounts/{id}

Path parameters

idinteger required

ID for the staff_account to be included in the filter

Response

Successful.

idnumber

The identifier for the staff account.

namestring

The name of the account.

emailstring

The e-mail of the account.

permissionsstring[]

A list of permissions the user has for the app

Example response

{
  "id": 27,
  "name": "Lene Hansen",
  "email": "info@minvirksomhed.dk",
  "permissions": [
    "dashboard",
    "orders",
    "shipments"
  ]
}