party.whey.writeproxy.revokeDelegation

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.

Repository @whey.party did:plc:mn45tewwnse5btfftvd3powc not from the namespace authority
Details · procedure
Kindprocedure
Authoritywriteproxy.whey.party
Commit rev3n3m7ce5uwc2w
Indexed

Procedure

procedure · POST

Input

application/json

delegation

requiredstring
  • maxLength: 128

reason

string
  • maxLength: 256

Output

application/json

revoked

requiredboolean

Errors

DelegationNotFound

No description in schema.

NotAuthorized

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • party.whey.writeproxy.admin.revokeDelegation

    procedure not from the namespace authority

    Revoke any delegation. Requires a reason. The operator must not add callers; this only removes the delegation.

  • Revoke an active PDS delegation. Only accessible to administrators.

  • social.agent.delegation.revocation

    record not from the namespace authority

    Explicit revocation of a delegation grant. Lives on the grantor's (human's) PDS. Separate record to preserve provenance chain.

  • Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.

  • party.whey.writeproxy.replaceDelegation

    procedure not from the namespace authority

    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.