Utils
Create or rotate a bearer token
Create or rotate a bearer token for the authenticated HTTP user. Requires HTTP Basic authentication with a Manticore user name and password. The endpoint returns the raw token. Example:
curl -u admin:password -X POST http://127.0.0.1:9308/token -d "{}"
post/token
Request body
TokenRequest required
Empty request body. Used to create or rotate a bearer token for the authenticated HTTP user.
Example request
{}Response
Bearer token created or rotated successfully
string required
Raw bearer token string.
Example response
"115za1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2"