refresh App Token
POST/api/token/v1/v1/tokens/refresh/api-token
refresh an App Token, the existing token will be replaced with a new one. The handed over token will be invalidated
Request
- application/json
Body
required
Transfer object to create a token.
refresh_token stringrequired
client_id ObjectIdrequired
Possible values: Value must match regular expression ^[0-9a-fA-F]{24}
grant_type stringrequired
scope stringrequired
Responses
- 200
- 400
- 401
- 403
- 422
- 500
The created token information together with the token string value.
- application/json
- Schema
- Example (from schema)
Schema
token
object
required
name stringrequired
creationDate numberrequired
expirationDate numberrequired
value stringrequired
{
"token": {
"name": "string",
"creationDate": 0,
"expirationDate": 0
},
"value": "string"
}
bad request
unauthorized
forbidden
unprocessable entity
unspecified error
Loading...