Skip to content

Delete Member

Endpoint used to delete a member from the unit.

Terminal window
curl --request DELETE \
--url https://chat.api.toolzz.com.br/api/v2/member/id/{id} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"message": "<string>",
"id": "<string>",
"institutionId": "<string>",
"unityId": "<string>",
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"access": "<string>",
"status": 123,
"acceptedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"verified": true
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
idUUIDUnique member identifier.Yes
KeyTypeDescription
messageStringInformative message about the operation status.
idUUIDUnique identifier of the member’s link record.
institutionIdUUIDIdentifier of the institution the member belongs to.
unityIdUUIDIdentifier of the linked organizational unit.
userIdUUIDGlobal user identifier in the system.
nameStringUser name as registered in the invitation/link.
emailStringLinked member’s email address.
accessStringAssigned permission level (e.g., admin, operator).
statusNumberNumeric status code (e.g., 1 for active, 0 for pending).
acceptedAtStringDate and time the invitation was accepted (ISO 8601).
createdAtStringLink record creation date and time.
updatedAtStringLast record modification date and time.
userObjectObject containing the user’s security and identification profile.
user.idUUIDUnique user ID within the profile object.
user.nameStringUser’s full name in the global profile.
user.emailStringUser’s primary email in the global profile.
user.verifiedBooleanIndicates if the user has already performed email verification in the system.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page