Step 7: (Optional) Create attribute mappings for the identity provider
POST {{apiPath}}/environments/{{envID}}/identityProviders/{{providerID}}/attributes
Create an attribute mapping for the IdP in the destination environment using a POST {{apiPath}}/environments/{{destinationEnvID}}/identityProviders/{{providerID}}/attributes request.
- Set
{{providerID}}to the ID of the IdP that you created in the destination environment.
The example requires you to set an attribute mapping for email_address in the application that you created in the source environment. On the IdP side, the email_address attribute uses the prefix providerAttributes.
For more information, see Create Identity Provider Attribute (SAML).
Request Body
{"name"=>"email", "value"=>"${providerAttributes.email_address}", "update"=>"ALWAYS"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |