IAM APIs
Identity and Access Management ( Token Service) APIs
Entity Token Generation use case
To generate a User Access Token, the user must provide their username (email) and the password configured during the account activation process. This access token is necessary for interacting with the member's secret management APIs. The access token has an expiry of 180 days. Below is the API specification.
User email.
The password associated with the user.
Successful response
Bad Request
Unauthorized
The Read Secret API enables admin to retrieve the current secret for a specific member. To access this information, an user access token with administrative rights must be provided. Below is the API specification.
User Bearer token for authorization
1.0.02024-07-16T11:33:34.509Zf35761ac-4a18-11e8-96ff-0277a9fbfedcaa-1Specifies the number of days before the secret expires. This field is optional; if not provided, a default value will be used.
100Successful response
Bad Request
Unauthorized
The Reset Secret API is designed to allow an admin to reset a member's secret. To perform this action, an access token with administrative privileges for the specified member is required. Once reset, the newly generated secret will have a validity period of 180 days by default, after which it will need to be renewed or reset again.
With the latest enhancements, members can now select their desired validity period for secrets, up to a defined maximum limit (default: 180 days). The specified validity period is compared with the admin access token expiry, and the minimum value is applied to ensure authentication and security. Additionally, a grace period of 5 days is provided to facilitate a seamless transition between old and new secrets.
Below is the API specification.
User Bearer token for authorization
1.0.02024-07-16T11:33:34.509Zf35761ac-4a18-11e8-96ff-0277a9fbfedcaa-1Specifies the number of days before the secret expires. This field is optional; if not provided, a default value will be used.
100Successful response
Bad Request
Unauthorized
To generate a Member (Entity) Access Token, the client ID and Secret are required. The API generates the token with a warning if the secret is within the grace period, but it will fail once the grace period has ended. This token is used for interactions with other members and has a validity of 24 hours. The API specification is detailed below.
The entity ID.
The secret associated with the entity.
Successful response
Bad Request
Unauthorized
Token Generation APIs:
API Postman Collection:
Member Secret Management APIs
API Collection:
Last updated
Was this helpful?