REST API
15
REST API for Luna Network HSMs
|
Replaces the current certificate with a given file.
The request takes in a file.
Success
JSON Schema:
id: Object type: string
"Location" is the URL to the task spawned to regenerate the certificate. The task is a waiting task.
Bad Request
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '254', 'Access-Control-Allow-Credentials': 'true'} { }