Companies
Exit company
Removes the authenticated user from a company
Authorization
jwt-auth AuthorizationBearer <token>
Enter JWT token from admin panel
In: header
Path Parameters
id*string
Company unique identifier
Response Body
application/json
curl -X DELETE "https://example.com/api/companies/123e4567-e89b-12d3-a456-426614174000/exit"{ "message": "User exited company", "companyId": "string", "userId": "string"}Empty
Empty