Skip to main content
PATCH
/
api-keys
/
{id}
cURL
curl -X PATCH 'https://api.nuntly.com/api-keys/apk_01ka8k8s80gvx9604cn9am5st4' \
  -H 'Authorization: Bearer apk_xxx' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Production"}'
{
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Use an API key from https://nuntly.com/dashboard/api-keys. Required on every endpoint.

Path Parameters

id
string
required

The id of the api key

Body

application/json
name
string

The name of the api key

Example:

"Production"

status
enum<string>
Available options:
enabled,
disabled
permission
enum<string>

The permission type for the api key

Available options:
fullAccess,
sendingAccess
domainIds
string[]

The domain ids to restrict the api key to (only for sendingAccess)

Response

Successful response.

data
object
required