POST/////
This endpoint enables you to create a new admin access token for the application provided in the header. You can create a maximum of 20 admin access tokens per application.
You must assign roles when creating a new admin access token. You can also assign an expiration date other than the 90-day default value using the expires_at field.
- Roles - You must assign one or more roles to your admin access tokens to control their permissions. You cannot create admin access tokens with roles that are not currently assigned to the admin access token you are using to call this endpoint.
- Expiration - When creating a new admin access token, you can set an expiration date using the
expires_atparameter. Theexpires_atfield is optional, and accepts a value between one and 365 days in the future. If you do not provide theexpires_atfield, the expiration of the new admin access token is set to 90 days in the future by default.