Update a saml configuration
Updates the specified saml configuration by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PATCH/v3/accounts/{id}/saml-configuration
JWT
account:write
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| id* | string | path | Unique identifier for the saml configuration. |
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| metadataUrl | string | SAML metadata xml url. | min: 1, max: 2048, format: uri |
| assertionConsumerServiceUrl | string | SAML assertion consumer service url. | min: 1, max: 2048, format: uri |
| entityId | string | Entity Id of SAML service provider. | min: 1, max: 256 |
| autoProvisionUsers | boolean | Auto provision users. | |
| enabled | boolean | Enable or disable the SAML SSO. | |
| defaultRole | string | Default role assigned to the new users. | min: 1, max: 256 |
| samlRoleMappings | array | Role mapping. | items: object |
| identityProviderRole* | string | Identity provider role. | min: 1, max: 256 |
| serviceProviderRole* | string | Service provider role. | min: 1, max: 256 |
| attributeMapping | object | ||
| array | SAML attribute name to map to the User email. | items: string | |
| firstName | array | SAML attribute name to map to the User first name. | items: string |
| lastName | array | SAML attribute name to map to the User last name. | items: string |
| role | array | SAML attribute name to map to the User role. | items: string |
Request Example
Responses
200
400
401
403
404
429
500