REST API response headers
The REST APIs support common HTTP response headers.
Parameter | Required or Optional | Description | Validation | Valid values |
---|---|---|---|---|
_csrf: | Required |
The unique session token that is generated when the user authenticates with the admin credentials using the REST API. The same session token could be reused when accessing other resources. This value from sign-on API response header should be used in request header (field name: X-XSRF-TOKEN) for other API’s. |
Must be mapped to the user that is authenticated | UUID (Universal Unique Identifier) format |
Authorization | Required | To provide credentials that authenticate a user agent with a server, allowing access to a protected resource. This authorization value from sign-on API response header should be used in request header for other API’s. | Must be mapped to the user that is authenticated | UUID (Universal Unique Identifier) format |
Content-Type | Required | This value corresponds to the Accept type specified in the request header. | JSON | “application/json” |