Create or update an external group mapping

POST/v1/identity-connections/{connectionId}/group-mappings

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
connectionIdpathstringYesOrganization identity connection ID
Query parameters
None.
Header parameters
NameLocationTypeRequiredDescription
X-Computer-Agents-OrganizationheaderstringNoActive organization context. If omitted, the authenticated user's personal organization is used.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
externalGroupIdstringYes
externalGroupNamestringNo
teamIdstringNo
organizationRoleviewer | member | developerNo

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201External group mappingapplication/json
FieldTypeRequiredDescription
dataobjectYes
data.externalGroupIdstringYes
data.externalGroupNamestringNo
data.teamIdstringNo
data.organizationRoleviewer | member | developerNo
data.idstringYesUnique identifier.
data.organizationIdstringYes
data.connectionIdstringYes
data.createdAtstringYesISO 8601 timestamp.
data.updatedAtstringYesISO 8601 timestamp.
Create or update an external group mapping
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow