REST API  16
REST API for Luna Network HSMs
Status Codes

This page summarizes the status codes that the REST API can return. Refer to specific resources for details of what status codes apply and their interpretation.

200

Success

201

Success; a new resource was created

202

Task generated

204

Change successful; no content returned

303

Task finished successfully or with error

400

Request failed due to malformed request. Possible reasons: resource, parameters and/or headers

401

Unauthorized

404

Request failed due to resource being not found

500

REST API framework failed to complete action for resource

501

REST API framework does not support the requested action on the resource

Reference

For a more detailed discussion of the intent of the status codes, refer to RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html