Vector Stores
Grant a vector store permission
Grants reader or writer on the vector store to one principal, or to every member of the store’s team (grantee_type: team), replacing any role that principal already held. Only the store’s owner or an admin of its organization can grant (403 otherwise). The owner’s role is fixed at creation and cannot be granted or changed. Returns 410 once the vector store has expired.
POST
Go (SDK)
Authorizations
Body
application/json
- Option 1
- Option 2
Grants a role on the store, replacing any role the principal already holds. grantee_type defaults to user.
Response
200 - application/json
OK
A role held on a vector store by a principal, or by every member of the store's team.
Go (SDK)