HTTP status codes

Content Platform for Cloud Scale Management API Reference

Version
2.4.x
Audience
anonymous
Part Number
MK-HCPCS007-07

When an HTTP request is sent to a server, the server sends back an HTTP response message. The HTTP response message consists of an HTTP header and, optionally, a message body. The response header contains an HTTP status code that gives the status of the request.

The following table contains a list of HTTP status codes, their descriptions, and the types of HTTP requests that can generate each status code.

Status code Meaning Description Methods
200 OK The request was executed successfully.

PATCH

POST

400 Bad Request The request body contains one or more of these:
  • An entry that is not valid
  • A value for an entry that is not valid
  • JSON formatting that is not valid
If the request includes a UUID, the UUID might not be validly formatted.

PATCH

POST

401 Unauthorized Your access is not authorized. Possible reasons:
  • No credentials are given with the request.
  • The credentials provided with the request are not valid.

PATCH

POST

404 Not Found The resource you are trying to retrieve, edit, or delete cannot be found.

PATCH

POST

405 Method Not Allowed A request was made using a request method not supported by that resource; for example, using GET with a form that needs data to be presented using POST.

PATCH

POST

501 Unimplemented An API was invoked that HCP for cloud scale doesn't support.