Account

Remove someone from an API key

Changed on

Ends a person's access to the key. The key's owner (or a manager of the owning team) can remove anyone; a person the key is shared with can remove themselves. Requires an app session (Supabase JWT), not an API key.

delete/api-keys/{id}/shares/{userId}

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/api-keys/{id}/shares/{userId}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

API key id

userIdstring uuid required

The person to remove (user_id from the shares list)

Response

Access removed

deletedboolean required

Example response

{
  "deleted": true
}

Changes