Tearleads

DELETE/organization-memberships/{organizationId}/leave-request

Withdraw a request to leave an organization

Operation organizationMemberships.leaveRequest.delete

Description

Withdraws the caller's pending request to leave an organization. Returns 404 unless the caller has an active roster entry there.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
organizationIdpathstringrequired
  • lowercase UUID v4

Responses

200 OK

application/jsonOrganizationMembershipResponse

One organization the caller belongs to, as the caller's own settings for it; it grants nothing.

4 fields
  • isPersonalOrganizationOwnerbooleanrequired

    True for the caller's personal organization, which can be neither paused nor left.

  • leaveRequestedAtstringrequirednullable

    When the caller asked to leave, or null.

  • organizationIdstringrequired
  • syncPausedbooleanrequired

    True when the caller paused this organization's sync to their devices.

Other fields are allowed.

Other responses

StatusMeaningBody
401Unauthorized

application/jsonSessionFailureResponse

404Not Found

application/jsonErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse