Skip to main content
PATCH
Set users' availability

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Body

application/json
availability
enum<string>
required

The status to set.

Available options:
Available,
Away
userIds
string[]

Users, by ID. Give userIds, emailIds or both.

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
emailIds
string<email>[]

Users, by email.

Response

Number of users updated.

updatedCount
integer