API
HQ APIRoles

Create Role

POST/v1/hq/roles
AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

company_id?string
Example"7awdXawZoolkjad37a"
title?string
Example"Employee"
permissions?array<Permission>

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/roles" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "7awdXawZoolkjad37a",
  "title": "Employee",
  "type": "default",
  "permissions": [
    "manageAllBookableResources"
  ]
}
Empty
Empty