Skip to main content

Remove Organization Member

https://infrahub-api.nexgencloud.com/v1/auth/organizations/remove-member

Removes a member from your organization. Include the email of the user to be removed in the request body.


Request body parameters


email string   Required

The email of the user to be removed from your organization.
Maximum email length of 64 characters.


Attributes


status boolean

Indicates the status of the request to remove an organization member, true indicates success, while false indicates error.


message string

A message describing the status of the request.

Example request
curl -X POST "https://infrahub-api.nexgencloud.com/v1/auth/organizations/remove-member" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"\
-H "content-type: application/json"\
-d '{
"email": "string"
}'
Response
{
"status": true,
"message": "The member was removed from your organization"
}

Returns


A status of true indicates the successful removal of the member from your organization. false indicates error.


Back to top