Update an SAML service provider configuration
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
PATCH /security/authentication/cluster/saml-sp
Introduced In: 9.6
Updates a SAML service provider configuration.
Request Body
Name | Type | Description |
---|---|---|
_links |
||
certificate |
||
enabled |
boolean |
The SAML service provider is enabled. Valid for PATCH and GET operations only. |
host |
string |
The SAML service provider host. |
idp_uri |
string |
The identity provider (IdP) metadata location. Required for POST operations. |
Example request
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"certificate": {
"ca": "string",
"common_name": "cluster1",
"serial_number": "1506B24A94F566BA"
},
"host": "string",
"idp_uri": "https://idp.example.com/FederationMetadata/2007-06/FederationMetadata.xml"
}
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
12320791 |
SAML can only be disabled using the console or a SAML-authenticated application. |
Also see the table of common errors in the Response body overview section of this documentation.
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
certificate
Name | Type | Description |
---|---|---|
ca |
string |
Server certificate issuing certificate authority (CA). This cannot be used with the server certificate common name. |
common_name |
string |
Server certificate common name. This cannot be used with the certificate authority (CA) or serial_number. |
serial_number |
string |
Server certificate serial number. This cannot be used with the server certificate common name. |
security_saml_sp
Name | Type | Description |
---|---|---|
_links |
||
certificate |
||
enabled |
boolean |
The SAML service provider is enabled. Valid for PATCH and GET operations only. |
host |
string |
The SAML service provider host. |
idp_uri |
string |
The identity provider (IdP) metadata location. Required for POST operations. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |