Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

Delete organization member

Soft deletes an organization member and the associated user account.

What happens:

  • The organization member is marked as deleted (soft delete)
  • The associated user account is also marked as deleted
  • The avatar file is permanently deleted from storage
  • Records remain in the database but are hidden from normal queries

Note: This is a soft delete operation. The data is not permanently removed and could potentially be restored through database operations if needed.

DELETE/organizations/members/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200
successbooleanrequired
Operation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/organizations/members/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}