: HTTP Request Methods and Status Codes
Focus
Focus

HTTP Request Methods and Status Codes

Table of Contents

HTTP Request Methods and Status Codes

Learn about the request methods that can be used to retrieve or modify resources on Data Security and the related status codes.

HTTP Request Methods

The following request methods can be used to retrieve or modify resources on Data Security.
Verb
Usage
GET
Retrieves a resource
POST
Creates a new resource
PUT
Replaces an existing resource
DELETE
Deletes an existing resource

HTTP Status Codes

The following is a list of the HTTP Status Codes that Data Security returns in response to the requests listed above.
Status Code
Usage
200 OK
The server successfully processed the request.
201 Created
The server successfully processed the request and created a new resource.
202 Accepted
The server accepted the request for processing, but the processing is not completed.
204 No Content
The server successfully processed the request, but did not return any content.
400 Bad Request
The server cannot process the request due to a client error due to a validation or because the quarantine action is not supported.
401 Unauthorized
The server cannot process the request because it lacks valid authentication credentials for the target resource.
403 Forbidden
The server refused to authorize the request.
404 Not Found404 Asset Not FoundIncident Not Found
The requested resource (asset or incident) could not be found.
500
Internal server error or unexpected error.