Description
Delete an existing status reason.
URI
| Method | URL |
|---|---|
| DELETE | https://{domain}/api/account/{accountId}/configuration/le-agents/status-reasons/{statusReasonId} |
Path Parameters
| Parameter | Description | Notes |
|---|---|---|
| accountId | LP site id | Type: String |
| statusReasonId | Account Config object’s unique id. | Type: Positive long number greater than zero |
Request
Request Headers
| Header | Description |
|---|---|
| Authorization | Contains token string to allow request authentication and authorization. See the authentication documentation for more details. |
| X-HTTP-Method-Override=PUT | Tells to the backend this POST request is actually PUT |
| If-Match | Contains widgets’ current revision number |
Response Headers
| Header | Description |
|---|---|
| ac-revision | This parameter specifies the version of the data object retrieved. You can use the If-Match parameter in the request to retrieve a specifc version using this parameter's value. |
Response Body
N/A
Response Codes
Response Codes
| Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | Not Authenticated |
| 403 | Not Authorized |
| 404 | Data not found |
| 500 | Internal server error |