API
HQ APIRoles

Update Role

POST/v1/hq/roles/{role_id}
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

Path Parameters

role_id*string

ID of the role to update

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/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "7awdXawZoolkjad37a",
  "title": "Employee",
  "type": "default",
  "permissions": [
    "manageAllBookableResources"
  ]
}
Empty
Empty
Empty