Remove a non-owner from the workspace, or leave it [write]

Changed on

The owner removes anyone but themselves. Anyone else may name only themselves (their id, or me), which is how a person leaves; naming someone else is 403, and the owner cannot leave (400). Ends membership access, stops sharing every connection the person shared with the workspace, and closes pending and accepted invitation links. Accounts and threads remain; workspace-visible threads owned by the removed person become read-only for remaining members.

delete/universes/{slug}/members/{userId}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/universes/{slug}/members/{userId}
  • Auth
    HTTP bearer

Path parameters

slugstring required

The universe slug

userIdstring required

Response

OK

oktrue required

Changes