AccessTokens
Update AccessToken
Update an existing AccessToken record.
PUT
Update AccessToken
Updates an existing AccessToken record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the AccessToken-Edit role.Request Body
Required Fields
integer
required
The Id of the AccessToken record to update.
integer
required
ID of the location that owns this WiFi access token..
string
required
Required unique code used to authenticate to the location’s WiFi network..
integer
required
Non-negative total number of WiFi minutes granted when the token is created..
Optional Fields
string
Optional operator-facing label, such as the related visitor, booking, or event..
string
Optional UTC date and time after which the token can be used; no value allows use immediately..
string
Optional UTC expiration date and time; no value means the token does not expire by date..
integer
Optional minimum-one limit on users or devices permitted by the WiFi integration..
string
Optional comma-separated list of device MAC addresses associated with this token; stored in lowercase..
string
Internal GUID linking this token to the booking that created it; set by booking automation, not by operators..
string
Internal GUID linking this token to the visitor that created it; set by visitor automation, not by operators..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the update.
object
Contains the
Id of the updated record.boolean
true if the accesstoken was updated successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response