Remove Member from Project
DELETE
https://deploygate.com/api/organizations/{PROJECT_NAME}/members/{USER_NAME}
Remove member account from the Project.
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 Project members.
Path Params
Name | Type | Required | Description |
---|---|---|---|
PROJECT_NAME | string | true | Project Name |
USER_NAME | string | true | Username or Email Address of the user to be deleted |
Example
curl \
-X DELETE \
--url "https://deploygate.com/api/organizations/${PROJECT_NAME}/members/${USER_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"message": "invitee was removed from ${PROJECT_NAME}"
}
Result 400
{}