Entity Authentication Token

Get Authentication Token

get
/entities/{entityId}/users/{userId}/authentication-token

Get the authentication token for a user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Header parameters
apikeystringRequired

The API key for authentication

Example: test
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful operation

application/json
get
/entities/{entityId}/users/{userId}/authentication-token

Create Authentication Token

post
/entities/{entityId}/users/{userId}/authentication-token

Create an authentication token for a user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Header parameters
apikeystringRequired

The API key for authentication

Example: test
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
post
/entities/{entityId}/users/{userId}/authentication-token

Delete Authentication Token

delete
/entities/{entityId}/users/{userId}/authentication-token

Delete the authentication token for a user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Header parameters
apikeystringRequired

The API key for authentication

Example: test
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Responses
200

Successful operation

application/json
delete
/entities/{entityId}/users/{userId}/authentication-token

Update Authentication Token

patch
/entities/{entityId}/users/{userId}/authentication-token

Update the authentication token for a user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Header parameters
apikeystringRequired

The API key for authentication

Example: test
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
expirystring · date-timeOptional

The new expiry date for the token.

flagsstring[]Optional

Any new flags for the token.

Responses
200

Successful operation

application/json
patch
/entities/{entityId}/users/{userId}/authentication-token

Refresh Authentication Token

post
/entities/{entityId}/users/{userId}/authentication-token/refresh

Refresh the authentication token for a user in a specific entity.

Path parameters
entityIdstringRequired

The ID of the entity.

userIdstringRequired

The ID of the user.

Header parameters
apikeystringRequired

The API key for authentication

Example: test
useridstringRequired

The Id of the user performing the request.

Example: dummy-userid
tokenstringRequired

The token for user authentication.

Example: dummy-token
Body
authenticationTokenstringOptional

The current authentication token to refresh.

Responses
200

Successful operation

application/json
post
/entities/{entityId}/users/{userId}/authentication-token/refresh

Last updated