API Keys

Change an API key's role

Change an API key's role (admin, user, owner). Requires the admin role.

patch/api/v1/api-keys/{api_key_param}/role

Request

  • Base URL: https://dashboard.sealgate.ai
  • URL: https://dashboard.sealgate.ai/api/v1/api-keys/{api_key_param}/role
  • Auth: HTTP bearer

Request body

rolestring required

New role for the API key (admin, user, owner)

Response

Updated role (API key returned masked)

statusstring required
api_keystring required

Masked API key

rolestring required

New role

Changes

No recorded changes to this operation across all 1 revision of this API.