Skip to content

Issue a key pair

Request

Issues a new key pair for the admin user.

Security
ZephrHmacHttp
Path
user_idstringrequired

Unique User Identifier

cURL
curl -i -X POST \
  'https://demo.api.zephr.com/v3/admin/users/{user_id}/keypairs' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

Created

Headers
any
Bodyapplication/json
secret_keystring
Example:"secret key..."
messagestring
Example:"Keypair created: you will not be able to recover the secret, so take note of it"
access_keystring
Example:"access key..."
Response
{ "access_key": "access key...", "secret_key": "secret key...", "message": "Keypair created: you will not be able to recover the secret, so take note of it" }