ServiceDesk Version: | 8.5 |
Authorization
Provides authentication method. The API simply passes through the authentication paradigm from ProcessManager. The API consumer is responsible for managing the provided token and handling authentication failures.
API Description POST api/authorization/token Attempts to authenticate using the credentials provided and returns a token if successful. The returned token must be provided as the Authentication header for all subsequent requests. If authentication fails a 403 response will be returned.
Request
POST api/authorization/token
Request Information
URI Parameters
None
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Username | string | None. | |
Password | string | None. |
Request Formats
application/json, text/json
{
"username": "sample string 1",
"password": "sample string 2"
}
Response Formats
"00000000-0000-0000-0000-000000000000"
---