Remove a user
Remove an organization membership and optionally reassign active projects.
Path Parameters
- Type: stringFormat: uuiduser
Id required
Headers
- Type: stringIf
- Match min length:1requiredETag from a create or update response you already have, or from the latest GET when you have none.
Body
application/json
- Type: stringFormat: uuidnew
Sales Rep Id
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for delete/external/v2/users/{userId}
curl https://sales-api.artemis.solar/external/v2/users/123e4567-e89b-12d3-a456-426614174000 \
--request DELETE \
--header 'If-Match: "copy-the-etag-from-your-latest-get"' \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"newSalesRepId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
}'
No Body

