---
title: "Update security settings of the given domain"
method: PUT
path: "/gdc/domains/{domainId}/securitySettings"
tags: ["saml-sso-providers"]
---

# Update security settings of the given domain

`PUT /gdc/domains/{domainId}/securitySettings`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/domains/{domainId}/securitySettings`
- Auth: none declared

Provide a possibility to add the SSO provider to security settings of the given domain.

In the request body, specify the following **mandatory** parameters:

- **samlSsoProvisioningProviders** (array of strings) is the list of SAML SSO providers which can do automatic JIT user provisioning.

	The number of this list should not be greater than 10 and be valid to update.

- **serviceProviderInitiatedSSOProviders** (array of strings) is the list of SSO provider for service provider initiated login.

	The number of this list should not be greater than 1 and be valid to update.

## Path parameters

- `domainId` string, required

## Request body

- SecuritySettings
  - `securitySettings` object, required
    - `samlSsoProvisioningProviders` string[], required: The list of SAML SSO providers which can do automatic JIT user provisioning.
    - `serviceProviderInitiatedSSOProviders` string[], required: The list of SSO provider for service provider initiated login.

## Response `200`

The security settings are updated successfully.

- SecuritySettingsResponse: Security Settings Response
  - `securitySettings` object, required
    - `samlSsoProvisioningProviders` string[]: The list of SAML SSO providers which can do automatic JIT user provisioning.
    - `serviceProviderInitiatedSSOProviders` string[]: The list of SSO provider for service provider initiated login.

## Other responses

- `400`: The API call failed due to a validation error. Check the response for details.
- `403`: The API call failed because you are not a domain administrator in the domain.
- `404`: The API call failed due to domain not found error. Check the response for details
- `default`: Common error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
