Token Service APIs - Production
Identity and Access Management ( Token Service) APIs
Entity Token Generation use case
Environment
Base URL
Body
usernamestringRequired
User email.
passwordstringRequired
The password associated with the user.
Responses
200
Successful response
application/json
verstringOptionalExample:
1.0.0timestampstring · date-timeOptionalExample:
2024-07-16T11:33:34.509ZtxnIdstringOptionalExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcaccessTokenstringOptional
expiresInintegerOptionalExample:
86400tokenTypestringOptionalExample:
Bearer400
Bad Request
application/json
401
Unauthorized
application/json
post
/user/token/generateHeader parameters
AuthorizationstringRequired
User Bearer token for authorization
Body
verstringRequiredExample:
1.0.0timestampstring · date-timeRequiredExample:
2024-07-16T11:33:34.509ZtxnIdstringRequiredExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcentityIdstringRequiredExample:
aa-1secretExpiryDaysintegerOptionalExample:
Specifies the number of days before the secret expires. This field is optional; if not provided, a default value will be used.
100Responses
200
Successful response
application/json
verstringOptionalExample:
1.0.0timestampstring · date-timeOptionalExample:
2024-07-16T11:33:34.509ZtxnIdstringOptionalExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcentityIdstringOptionalExample:
aa-1secretstringOptionalExample:
xxxxxxxxxxxxxxxxxxxxxexpiresOnnumberOptionalExample:
1725010763expirationDatestringOptionalExample:
2024-12-17T07:10:52.929400
Bad Request
application/json
401
Unauthorized
application/json
post
/entity/secret/readHeader parameters
AuthorizationstringRequired
User Bearer token for authorization
Body
verstringRequiredExample:
1.0.0timestampstring · date-timeRequiredExample:
2024-07-16T11:33:34.509ZtxnIdstringRequiredExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcentityIdstringRequiredExample:
aa-1secretExpiryDaysintegerOptionalExample:
Specifies the number of days before the secret expires. This field is optional; if not provided, a default value will be used.
100Responses
200
Successful response
application/json
verstringOptionalExample:
1.0.0timestampstring · date-timeOptionalExample:
2024-07-16T11:33:34.509ZtxnIdstringOptionalExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcentityIdstringOptionalExample:
aa-1secretstringOptionalExample:
xxxxxxxxxxxxxxxxxxxxxexpiresOnnumberOptionalExample:
1725010763expirationDatestringOptionalExample:
2024-12-17T07:10:52.929400
Bad Request
application/json
401
Unauthorized
application/json
post
/entity/secret/resetBody
idstringRequired
The entity ID.
secretstringRequired
The secret associated with the entity.
Responses
200
Successful response
application/json
verstringOptionalExample:
1.0.0timestampstring · date-timeOptionalExample:
2024-07-16T11:33:34.509ZtxnIdstringOptionalExample:
f35761ac-4a18-11e8-96ff-0277a9fbfedcaccessTokenstringOptional
expiresInintegerOptionalExample:
86400tokenTypestringOptionalExample:
Bearer400
Bad Request
application/json
401
Unauthorized
application/json
post
/entity/token/generateToken Generation APIs:
API Postman Collection:
Member Secret Management APIs
API Collection:
Last updated
Was this helpful?