Skip to main content
DELETE
Go (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

vector_store_id
string
required

The ID of the vector store.

user_id
string
required

The principal: a member's user id, the end-user id a request is delegated to with X-On-Behalf-Of, or 'team' for the permission that applies to every member of the store's team.

Minimum string length: 1

Response

200 - application/json

OK

Confirmation that a permission was removed.

object
any
required

The object type, which is always 'vector_store.permission.deleted'.

vector_store_id
string
required

The ID of the vector store.

grantee_type
enum<string>
required

Who the permission applies to: one principal (user), or every member of the store's team (team).

Available options:
user,
team
user_id
string | null
required

The principal the permission applies to: a member's user id, or the end-user id a request is delegated to with X-On-Behalf-Of. null when the permission applies to the store's team.

deleted
any
required