Skip to main content
PUT
/
api
/
tenant
/
api-keys
/
{id}
Update an API key
curl --request PUT \
  --url https://api.g-tateth.com/api/tenant/api-keys/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "permissions": [
    "<string>"
  ],
  "isActive": true,
  "expiresAt": "2023-11-07T05:31:56Z"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.g-tateth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token authentication (for user sessions)

Path Parameters

id
string
required

API key ID

Body

application/json
name
string
permissions
string[]
isActive
boolean
expiresAt
string<date-time>

Response

200

API key updated successfully