place.hud.deleteAppRecord
Delete one of the person's own records of a collection a frame app names in its writes (com.atproto.repo.deleteRecord), once they have allowed the app (place.hud.allowAppEntries) and signed in asking to write that collection: one of another collection, or another person's, is refused. Never in a private instance. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or a HUD access token as Bearer.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kx77ouswju |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete one of the person's own records of a collection a frame app names in its writes (com.atproto.repo.deleteRecord), once they have allowed the app (place.hud.allowAppEntries) and signed in asking to write that collection: one of another collection, or another person's, is refused. Never in a private instance. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or a HUD access token as Bearer.",
"errors": [
{
"description": "HUD has no frame app of this id.",
"name": "NotFound"
},
{
"description": "The record is not the person's own, or not of a collection the app names in its writes, or the input is not what the method takes.",
"name": "InvalidRequest"
},
{
"description": "The person has not allowed this app to save for them: ask them, then place.hud.allowAppEntries.",
"name": "ConsentRequired"
},
{
"description": "No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.",
"name": "AuthRequired"
},
{
"description": "Their PDS refused the delete; or they signed in before the app asked to write this collection, which the message says: sign in again.",
"name": "UpstreamFailure"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"app": {
"description": "The app's place.hud.app record.",
"format": "at-uri",
"type": "string"
},
"uri": {
"description": "The record, one of the person's own.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"app",
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Delete one of the person's records a frame app writes.",
"id": "place.hud.deleteAppRecord",
"lexicon": 1
}