Stores and deletes private keys.
Last updated 2 years ago
The keys must be 32 characters and Base64 encoded. The must be unique.
POST /private_key HTTP/1.1 Host: frost x-api-key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 38 { "key_id": "text", "private_key": "text" }
200 response
{ "request": { "request_uuid": "text", "request_name": "text", "request_verb": "text", "response_eta": "text", "created_at": "text", "satellite_id": "text", "request_status": { "status_code": null, "status_name": "text" } } }
DELETE /private_key HTTP/1.1 Host: frost x-api-key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 17 { "key_id": "text" }