Skip to main content

Remove Member from Organization

DELETE https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/members/{USER_NAME}

Remove member account from the Organization.


Cancel Member Invitation

If you cancel the invitations for users who haven't signed up for DeployGate, specify email address as the parameter id in the URL. This allows you to remove the users from the Organization members.

Path Params

NameTypeRequiredDescription
ORGANIZATION_NAMEstringtrueOrganization Name
USER_NAMEstringtrueUsername or Email Address of the user to be deleted

Example

curl \
-X DELETE \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/members/${USER_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"

Result 200

{
"error": false,
"message": "invitee was removed from ${ORGANIZATION_NAME}"
}

Result 400

{}