Skip to main content
DELETE
/
groups
/
{groupId}
/
users
/
{userId}
curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/groups/123/users/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{}
Remove a specific user from a group.

Request Headers

X-API-KEY
string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.

URL Parameters

groupId
integer
required
The unique identifier of the group
userId
string
required
User API ID to remove from the group

Response

Returns an empty response on success.

Error Responses

404
object
Returned when group or user is not found
curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/groups/123/users/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{}