Folders
Change a grant's mode
Owner or admin. Switching TO any_time adds membership and returns every existing file for rewrap, same as creating an any_time grant; switching away removes it.
patch/api/v1/folders/{id}/grants/{grant_id}
Request
- Base URL: https://saltapp.ai
- URL: https://saltapp.ai/api/v1/folders/{id}/grants/{grant_id}
- Auth: one of:
- API key in header api-key
- OAuth 2 (authorization code, authorization URL https://saltapp.ai/oauth2/authorize, token URL https://saltapp.ai/api/oauth2/token, scopes: chat)
Path parameters
idstring required
grant_idstring required
Request body
Response
OK.
Changes
No recorded changes to this operation across all 2 revisions of this API.