Remove a member
Remove a member. The owner cannot be removed.
DELETE/api/v1/settings/members/{userId}
Parameters
Path
| Name | In | Description |
|---|---|---|
userIdrequired | path | The member's user id. |
No body. Everything the call needs is in the path.
Example
curl
curl -X DELETE "https://crm.ashwanth.dev/api/v1/settings/members/{userId}" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine settings member-remove <userId>Response
A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.
Shape
{
"data": { ... }
}Run it below to see the live shape for your workspace.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
requiredThe member's user id.
Request
DELETE /api/v1/settings/members/%7BuserId%7D
Fill the path first.