Refresh auth tokens
POST/v1/auth/refresh-token
Refresh auth tokens
Request
- application/json
Body
required
refreshToken stringrequired
Responses
- 200
- 201
- 400
- 401
- 500
Auth tokens refreshed successfully.
- application/json
- Schema
- Example (from schema)
Schema
user objectrequired
id stringrequired
email stringrequired
name stringrequired
image stringrequired
backendTokens objectrequired
authToken stringrequired
refreshToken stringrequired
roles objectrequired
orgs objectrequired
property name* stringrequired
projs objectrequired
property name* stringrequired
{
"user": {
"id": "string",
"email": "string",
"name": "string",
"image": "string"
},
"backendTokens": {
"authToken": "string",
"refreshToken": "string"
},
"roles": {
"orgs": {},
"projs": {}
}
}
- application/json
- Schema
- Example (from schema)
Schema
user objectrequired
id stringrequired
email stringrequired
name stringrequired
image stringrequired
backendTokens objectrequired
authToken stringrequired
refreshToken stringrequired
roles objectrequired
orgs objectrequired
property name* stringrequired
projs objectrequired
property name* stringrequired
{
"user": {
"id": "string",
"email": "string",
"name": "string",
"image": "string"
},
"backendTokens": {
"authToken": "string",
"refreshToken": "string"
},
"roles": {
"orgs": {},
"projs": {}
}
}
Bad Request.
Unauthorized.
Internal Server Error.
Loading...