DELETE /v1/organizations/users/{user_id}
Remove a member from the organization.
Path parameters
user_id: string
ID of the User.
Returns
type: "user_deleted"
Deleted object type.
For Users, this is always "user_deleted".
default: user_deleted
id: string
ID of the User.
Example
bash
curl https://haijun.my.id/v1/organizations/users/$USER_ID \
-X DELETE \
-H 'juglow-version: 2023-06-01' \
-H "X-Api-Key: $JUGLOW_API_KEY"Response (200)
json
{
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"type": "user_deleted"
}