Skip to main content
POST
/
v1
/
actors
/
{ActorID}
/
roleGroups
Add Actor Group
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v1/actors/{ActorID}/roleGroups \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "RoleGroupId": 123
  }
]
'
[
  {
    "RoleGroupId": 123,
    "RoleGroupName": "<string>",
    "UpdatedDT": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

ActorID
integer<int64>
required

The unique identifier of the actor for whom the role group is being added.

Body

application/json

The details of the actor group to be added.

RoleGroupId
integer<int32> | null

The unique identifier of the role group. This is typically provided when adding or deleting a role group associated with an actor.

Response

200 - application/json

The actor group was added successfully.

RoleGroupId
integer<int32> | null

The unique identifier of the role group.

RoleGroupName
string | null

The name of the role group.

UpdatedDT
string<date-time> | null

The date and time when the role group was last updated.