Session

Session
Authenticate User

Authenticate User
Authorized Roles : ANY

Request
URI
POST
https://{api_host}/provider/session
COPY
Request Body

Authenticate Request Body

AuthDTO of type(s) application/json
Required

Show optional properties

{
    "email": "string"
}
{
    "email": "string",
    "password": "string"
}
string
email
Required

email

string
password
Optional

password

Authentication
This operation uses the following authentication methods.
Responses
200

Successful authentication

Returns UserSessionInfo of type(s) */*
{
    "email": "string",
    "type": "string",
    "roles": [
        "string"
    ]
}

400

Authentication failure

Returns ErrorDto of type(s) */*
{
    "message": "string",
    "errorCodes": {
        "type": "string"
    }
}

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"email":"string"}' https://{api_host}/provider/session