Skip to main content
POST
Create RefreshToken
A RefreshToken represents an OAuth refresh token issued to maintain authenticated sessions. Refresh tokens allow clients to obtain new access tokens without re-authentication.

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 RefreshToken-Create role.

Request Body

Required Fields

string
required
The subject value for this refresh token.
string
required
ID of the client associated with this record.
string
required
Date/time value for expires on.
string
required
The protected ticket value for this refresh token.
string
required
The ticket hash value for this refresh token.
string
required
The ticket salt value for this refresh token.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the refreshtoken was created 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