Returns fresh API access token
POST/api/v1/token/refresh
Finds an account with provided refresh token if exists and returns new API access token.
Request
- application/json
Body
refreshToken string
Refresh token value.
Responses
- 201
- 400
- 401
- 403
- 409
Refresh successful, fresh access token created
- application/json
- application/problem+json
- Schema
- Example (from schema)
Schema
token stringrequired
Auth token
refreshToken stringrequired
Refresh token
{
"token": "string",
"refreshToken": "string"
}
- Schema
- Example (from schema)
Schema
token stringrequired
Auth token
refreshToken stringrequired
Refresh token
{
"token": "string",
"refreshToken": "string"
}
Constraint violation
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Invalid API token provided
- application/problem+json
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
AccessDeniedException
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Loading...