POST
/
api
/
v1
/
apikeys
curl --request POST \
  --url https://cloud.bytebeam.io/api/v1/apikeys \
  --header 'Content-Type: application/json' \
  --header 'x-bytebeam-api-key: <api-key>' \
  --header 'x-bytebeam-tenant: <api-key>' \
  --data '{
  "role": "<string>",
  "name": "<string>"
}'
{
  "role": "<string>",
  "name": "<string>",
  "key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created-by": "<string>"
}

Authorizations

x-bytebeam-api-key
string
header
required

API key required to authenticate requests.

x-bytebeam-tenant
string
header
required

Tenant(Project) name required to identify the project.

Body

role
string
required
name
string
required

Response

200
application/json
role
string
required
name
string
required
key
string
required
created-by
string
required