PUT
/
api-key
curl --request PUT \
  --url https://api.plumaa.id/rest/v1/api-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": {
    "id": "<any>",
    "enabled": true,
    "name": "<string>"
  }
}'
{
  "id": "<any>",
  "enabled": true,
  "name": "<string>",
  "secret": "<any>",
  "organization": {
    "id": "<any>",
    "name": "<string>",
    "logo": "<any>",
    "emailAddress": "<any>",
    "quota": {
      "id": "<any>",
      "API": true,
      "groupedNOM151": 123,
      "nom151": 123
    },
    "policies": {
      "signatureRequest": {
        "conservation": "NOM151"
      }
    },
    "createdAt": "<any>",
    "updatedAt": "<any>"
  },
  "createdAt": "<any>",
  "updatedAt": "<any>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

input
object
required

Input to update an API key.

Body

application/json

Response

200 - application/json

An API key allows to make calls through the API. It is linked to an organization.