party.whey.writeproxy.replaceDelegation
Create a new delegation for the same (space, repo) with a changed scope, then revoke the old one after the new one is active. The old delegation remains active until the new OAuth flow completes.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | writeproxy.whey.party |
| Commit rev | 3n3m7ce4gzk2w |
| Indexed |
Procedure
procedure · POSTInput
application/jsonactions
arrayminLength: 1maxLength: 3
enum: create | update | delete
blob
refcollections
arrayminLength: 1maxLength: 100
maxLength: 128
ifRevision
integerminimum: 0
label
stringmaxLength: 128
Output
application/jsonErrors
DelegationNotFound
No description in schema.
NotAuthorized
No description in schema.
DelegationNotActive
No description in schema.
InvalidCollections
No description in schema.
InvalidActions
No description in schema.
InvalidBlobPolicy
No description in schema.
Conflict
No description in schema.
RateLimited
No description in schema.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
party.whey.writeproxy.createDelegation
procedureCreate a pending write delegation for one (space, repo) pair and return an OAuth authorization URL for the delegator to open. The delegation starts with an empty caller allowlist.
-
Revoke a delegation. Idempotent. Marks the delegation revoked, discards its caller allowlist, deletes the stored credential, and best-effort revokes the OAuth grant at the PDS. Only the delegation's repo owner may call this.