`PATCH /oauth/grants/{id}`
PATCH/oauth/grants/:id
Patch grant.
upgrade/downgrade the granted scope. The new scope must be a subset-or-superset of the current one; the caller must be the grant's user or an env admin. Handle patch grant.
Request
Responses
- 200
- 400
- 403
- 404
Scope updated
Invalid scope transition
Caller is not the grant's user or an env admin
Unknown grant