Error
A valid request URL is required to generate request examples{
"refresh_token": "refresh_token",
"user": {
"organisation_id": "organisation_id",
"role": null,
"projects": [
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
},
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
}
],
"name": "name",
"organisation": "organisation",
"id": "id",
"email": "email",
"username": "username"
},
"expires_in": 0,
"token": "token"
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}Authentication and users
User login
Authenticate user and generate an access token
POST
/
api
/
v1
/
auth
/
login
Error
A valid request URL is required to generate request examples{
"refresh_token": "refresh_token",
"user": {
"organisation_id": "organisation_id",
"role": null,
"projects": [
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
},
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
}
],
"name": "name",
"organisation": "organisation",
"id": "id",
"email": "email",
"username": "username"
},
"expires_in": 0,
"token": "token"
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}Body
application/json
Response
Successful login
Access token for authenticated requests
Refresh token for obtaining new access tokens
Show child attributes
Show child attributes
Example:
{
"organisation_id": "organisation_id",
"role": null,
"projects": [
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
},
{
"role": "Developer",
"project_id": "project_id",
"default_project": true,
"project_name": "project_name"
}
],
"name": "name",
"organisation": "organisation",
"id": "id",
"email": "email",
"username": "username"
}
Token expiration time in seconds
⌘I