POST /api/v1/{context_id}/principals/{principal_id}/grants
Changed onGrant a scope pattern to a principal for the given verbs (requires grant:manage over the pattern)
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
context_idstring required
Spectron context id
principal_idstring required
Principal record-id key
Request body
Response
Updated principal
Changes
- info
added the non-success response with the status
- info