HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Update a token group

A token group is an access management mechanism where only tokens inside a group can authorize charging at specified locations.

The group always grants access to the location. This means the location's public setting and opening hours are overruled by a token inside the group.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Used to identify the token group throughout the Spirii system.

Body Params
string
length ≤ 20

The token group name.

number

The owner of the group that the associated tokens will belong to. If not provided, the token group is owned directly by the operator.

boolean
Defaults to false

Defines whether a token group is disabled. If disabled is true, locations associated to the token group are no longer exclusive to tokens inside the group.

Responses

400

Bad Request provided. A message will describe the issue.

403

Authorization header JWT token is invalid or not provided.

404

The token group with the provided Id was not found.

500

Internal Server Error.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json