Skip to main content

Signin

Authenticate a user

Request

Definition

POST /api/v1/signin

Headers

  • Content-Type required

    application/json

Request body

{
"password": "password",
"username": "username"
}

Response

Status codes

Status codeMessage
200"You are successfully logged in"
401"Invalid username or password"

Response body

  • data.token string

    Authentication token.

  • data.user.id string

    User ID.

  • data.user.username string

    Username.

  • data.user.first_name string

    User's first name.

  • data.user.last_name string

    User's last name.

  • data.user.auth_type string

    Authentication type used by user.

  • data.user.is_first_access boolean

    Indicates whether it is the user's first access.

  • data.user.is_disabled boolean

    Indicates whether the user is disabled.

  • data.user.password_updated_at string

    Date of the last password update.

  • data.user.attrs_updated_at string

    Date of last attributes update.

  • data.user.email string

    User's email.

  • data.user.groups array<object>

    List of Groups which the user belongs to.

  • data.user.inserted_at string

    Date of the user insertion.