Generates a JWT access token using your Rayo API key.
You must send the API key in the x-api-key request header.
POST
/api/rest/auth
curl \
--request POST 'https://cerebro.techrayo.com/api/rest/auth' \
--header "x-api-key: string"
Response examples (200)
{
"AuthWithAPIkey": {
"accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
Response examples (500)
{
"code": "unexpected",
"path": "$",
"error": "internal error"
}
Response examples (default)
{
"error": "internal error",
"code": "unexpected",
"path": "$"
}