Skip to main content
POST
/
v3
/
groups
/
definitions
/
{group}
/
profiles
/
{profile}
/
remove
Remove a profile from a static group
curl --request POST \
  --url https://api.{tenant}.getomneo.com/api/v3/groups/definitions/{group}/profiles/{profile}/remove \
  --header 'Content-Type: application/json' \
  --data '
{
  "removed_reason": "<string>",
  "removed_by_profile_id": "<string>"
}
'
{
  "data": {
    "id": 123,
    "group_definition_id": 123,
    "profile_id": "<string>",
    "added_at": "<string>",
    "expires_at": "<string>",
    "removed_at": "<string>",
    "removed_reason": "<string>",
    "added_by_profile_id": "<string>",
    "removed_by_profile_id": "<string>",
    "source_type": "<string>",
    "source_id": 123,
    "meta": [
      "<unknown>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Path Parameters

group
integer
required

The group ID

profile
string<uuid>
required

The profile ID

Body

application/json

Static-group member removal payload. Field names mirror the group_profiles columns. removed_reason is optional and defaults to GroupMembership's manual-removal reason when omitted.

removed_reason
string | null
Maximum string length: 255
removed_by_profile_id
string | null

Response

GroupProfile

data
GroupProfile · object
required