place.hud.removeInstanceMembers
Take members out of a private instance of a frame app, as its authority (com.atproto.memberspace.removeMembers on their own PDS): they no longer read it, and their entries are no longer in it. A member who is not its authority names only themselves, to leave: HUD asks as them where the space's policy allows it, else answers Forbidden saying to ask its authority. 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 | 3n3knrcjt2aju |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Take members out of a private instance of a frame app, as its authority (com.atproto.memberspace.removeMembers on their own PDS): they no longer read it, and their entries are no longer in it. A member who is not its authority names only themselves, to leave: HUD asks as them where the space's policy allows it, else answers Forbidden saying to ask its authority. 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": "The input is not what the method takes, or the authority naming themselves: delete it instead.",
"name": "InvalidRequest"
},
{
"description": "It was deleted.",
"name": "NotFound"
},
{
"description": "The person is not its authority and named someone else, or the space's policy lets only its authority take members out: ask them.",
"name": "Forbidden"
},
{
"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 or could not be reached; or their sign-in does not allow HUD's private instances, which the message says: sign in again.",
"name": "UpstreamFailure"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"instance": {
"description": "The instance's space, at:space/<authority DID>/place.hud.app.instance/<key>.",
"format": "at-uri",
"type": "string"
},
"members": {
"items": {
"ref": "#member",
"type": "ref"
},
"maxLength": 100,
"minLength": 1,
"type": "array"
}
},
"required": [
"instance",
"members"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"instance": {
"description": "The instance as it is now, to its authority; left out once the person has left it.",
"ref": "place.hud.getInstance#instance",
"type": "ref"
}
},
"type": "object"
}
},
"type": "procedure"
},
"member": {
"description": "Someone to take out.",
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"description": "Take people out of a private instance, or leave one.",
"id": "place.hud.removeInstanceMembers",
"lexicon": 1
}