REST API
4.0.0
REST API for SafeNet Network HSMs
|
Changes a specific partition policy.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the partition of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the policy to change
Use: Required
JSON Schema:
Object type: string
The new value for the partition policy
Use: Required
JSON Schema:
Object type: integer
Success
JSON Schema:
id: Object type: string
"Location" is the URL to the task spawned to perform the action on the partition policy.
Unexpected error
HSM, partition or policy does not exist.
PATCH https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011784/policies/33 {"value": 0}
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/hsms/tasks/38', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'} { }