agents
Add Agent To Group
Adds the agent's service account to a group through the group-membership fence (AGENTS_CONTRACT §6.5): the caller must manage the agent (403 agent_consent_required), be able to write the group, and — short of tenant_manage — already be a member of it (403 not_group_member). Reserved group types stay the owning service's (403 group_type_reserved).
put/agents/{id}/groups/{groupId}
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/agents/{id}/groups/{groupId}
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Path parameters
idstring required
agent id
groupIdstring required
group id
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.