HTTP Status Codes¶
There are a number of possible responses to this request.
| Code | Message | Notes |
|---|---|---|
| 201 | The target was successfully created. | |
| 403 | Access Denied | Either the user does not have permission to use this request, or the submitted API key was not correct. |
| 404 | Not Found | The URL was not correct. |
| 406 | Bad Request | A parameter value violated constraint restrictions. |
| 415 | Requested Type Is not Supported | Unsupported Media Type: The Portal API supports only application/json and application/xml as formats. |
| 417 | Expectation Failed | The Header did not contain the token value (API key). |
| 500 | Internal Server Error | An unexpected error occurred on the server side. |
Parent topic:Create Target