Teams

Remove a team member

Remove a team member to the team.

delete/teams/{team_id}/members/{user_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/teams/{team_id}/members/{user_id}
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required
Example:4b156ede-3516-4f5c-aae3-e0b7424e2730
user_idstring uuid required
Example:12acf7bb-99fd-48cf-ac06-35202a6ad3da

Response

Team member removed successfully

idstring uuid required
user_idstring uuid required
team_idstring uuid required
role'OWNER' | 'ADMIN' | 'MEMBER' required
first_namestring
last_namestring
emailstring email

Example response

{
  "user_id": "d03bf0be-ba53-4043-8288-8feffbe45a5c",
  "team_id": "8e95abbd-0c5e-48f1-a186-0607ca0ca3aa",
  "role": "MEMBER",
  "first_name": "Minerva",
  "last_name": "Grant",
  "email": "Paige60@gmail.com"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.