GET, POST
/api/integrations/identity/mappings
BetaList or create group/attribute mappings. POST needs identity:mapping. Owner can never be granted; admin is privileged and needs a human approval.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| providerId, name, match, grants | body (POST) | match, grants required | match is { type: group, value } or { type: attribute, attribute, value }; grants are department, project or role grants. |
Response
GET: { mappings[] }. POST: 201 { mapping }.
Example
curl -H "Authorization: Bearer $INAYA_API_KEY" \
"https://app.inaya.network/api/integrations/identity/mappings"