HTTP Request Methods and Status Codes

HTTP Request Methods

These set of request methods can be used to retrieve or modify resources on Prisma SaaS.
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 Prisma SaaS will return 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.
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 (for example, validation).
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 Found
The requested resource could not be found.

Related Documentation