RefreshTokens
Create RefreshToken
Create a new RefreshToken record.
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
The subject value for this refresh token.
ID of the client associated with this record.
Date/time value for expires on.
The protected ticket value for this refresh token.
The ticket hash value for this refresh token.
The ticket salt value for this refresh token.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the refreshtoken was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create RefreshToken