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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | writeproxy.whey.party |
| Commit rev | 3n3m7ce5uwc2w |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe procedure has no description.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"name": "DelegationNotFound"
},
{
"name": "NotAuthorized"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"delegation": {
"maxLength": 128,
"type": "string"
},
"reason": {
"maxLength": 256,
"type": "string"
}
},
"required": [
"delegation"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"delegation": {
"ref": "party.whey.writeproxy.defs#delegation",
"type": "ref"
},
"revoked": {
"type": "boolean"
}
},
"required": [
"delegation",
"revoked"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "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.",
"id": "party.whey.writeproxy.revokeDelegation",
"lexicon": 1
}