# us.off-the-clock.subspace.leave

> Remove the caller's own entry from a subspace and cascade to its subspaces. Idempotent. Auth: service auth from the member.

- Kind: procedure
- Authority: subspace.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.leave)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.leave/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.leave/analytics)

## Procedure (`us.off-the-clock.subspace.leave`)

Type: procedure · POST

### Input (application/json)

- `space` (string · space-ref, required): Reference to the subspace.

### Errors

- `SpaceNotFound`: No description in schema.
- `PolicyMismatch`: The space is not governed by the subspace policy.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Remove the caller's own entry from a subspace and cascade to its subspaces. Idempotent. Auth: service auth from the member.",
      "errors": [
        {
          "name": "SpaceNotFound"
        },
        {
          "description": "The space is not governed by the subspace policy.",
          "name": "PolicyMismatch"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "space": {
              "description": "Reference to the subspace.",
              "format": "space-ref",
              "type": "string"
            }
          },
          "required": [
            "space"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "us.off-the-clock.subspace.leave",
  "lexicon": 1
}
```
