Skip to main content
POST
/
relay
/
v1
/
policy-groups
/
{groupId}
/
members
Add a policy to a group
curl --request POST \
  --url https://api.swarmd.ai/relay/v1/policy-groups/{groupId}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "policyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "orderIndex": 123
}
'

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

groupId
string<uuid>
required

Body

application/json
policyId
string<uuid>
required
orderIndex
integer<int32>

Response

204

No Content