Responses
-
The token refreshed successfully and was returned in the body of the response.
-
The authentication token is invalid or expired. (code:
root.unauthorized
) -
The administrator needs to configure the authentication cluster. (code:
authc.no_authentication_cluster
) -
The authentication cluster failed to process the request. The response body contains details about the error. (code:
authc.authentication_cluster_error
)
POST
/users/auth/_refresh
curl \
-X POST https://{{hostname}}/api/v1/users/auth/_refresh
Response examples (200)
{
"token": "string",
"session_expiration_time": "2024-05-04T09:42:00+00:00"
}
Response examples (401)
# Headers
x-cloud-error-codes: root.unauthorized
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (501)
# Headers
x-cloud-error-codes: authc.no_authentication_cluster
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (502)
# Headers
x-cloud-error-codes: authc.authentication_cluster_error
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}