application/json

Body Required

  • role-id string(uuid) Required

    IAM API Key Role ID

  • name string Required

    IAM API Key Name

    Minimum length is 1, maximum length is 255.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
POST /api-key
curl \
 -X POST https://api-ch-gva-2.exoscale.com/v2/api-key \
 -H "Content-Type: application/json" \
 -d '{"role-id":"string","name":"string"}'
Request example
{
  "role-id": "string",
  "name": "string"
}
Response examples (200)
{
  "name": "string",
  "key": "string",
  "secret": "string",
  "role-id": "string"
}