Get Token

JA
Last updated 4 months ago

get
Get Token

https://sharedcloud.io
/api/v1/api-token-auth/
This endpoint allows you to get a token to query the API
Request
Response
Body Parameters
password
required
string
password of the user
username
required
string
username of the user
200: OK
Token successfully retrieved.
{
"token": "7b0y3603e540b079fc8b3cbf63b13cb760d67161"
}
400: Bad Request
Invalid credentials.
{
"non_field_errors": [
"Unable to log in with provided credentials."
]
}