SAML Application API, REST: Application.Update
- HTTP request
- Path parameters
- Body parameters
- ServiceProvider
- AssertionConsumerServiceURL
- SingleLogoutServiceURL
- SecuritySettings
- AttributeMappingSpec
- NameIdSpec
- Attribute
- GroupClaimsSettings
- Response
- UpdateApplicationMetadata
- Status
- Application
- ServiceProvider
- AssertionConsumerServiceURL
- SingleLogoutServiceURL
- SecuritySettings
- AttributeMapping
- NameId
- Attribute
- GroupClaimsSettings
- IdentityProviderMetadata
Updates the specified SAML application.
HTTP request
PATCH https://organization-manager.api.cloud.yandex.net/organization-manager/v1/idp/application/saml/applications/{applicationId}
Path parameters
Request to update an existing SAML application.
|
Field |
Description |
|
applicationId |
string Required field. ID of the SAML application to update. |
Body parameters
{
"updateMask": "string",
"name": "string",
"description": "string",
"labels": "object",
"serviceProvider": {
"entityId": "string",
"acsUrls": [
{
"url": "string",
"index": "string"
}
],
"sloUrls": [
{
"url": "string",
"responseUrl": "string",
"protocolBinding": "string"
}
]
},
"securitySettings": {
"signatureMode": "string",
"signatureCertificateId": "string"
},
"attributeMapping": {
"nameId": {
"format": "string"
},
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"groupClaimsSettings": {
"groupDistributionType": "string",
"groupAttributeName": "string"
}
}
Request to update an existing SAML application.
|
Field |
Description |
|
updateMask |
string (field-mask) A comma-separated names off ALL fields to be updated. If |
|
name |
string New name for the SAML application. |
|
description |
string New description for the SAML application. |
|
labels |
object (map<string, string>) New resource labels as |
|
serviceProvider |
New service provider configuration for the SAML application. |
|
securitySettings |
New security settings for the SAML application. |
|
attributeMapping |
New attribute mapping configuration for the SAML application. |
|
groupClaimsSettings |
New group claims settings for the SAML application. |
ServiceProvider
Service provider configuration for SAML applications.
|
Field |
Description |
|
entityId |
string Required field. Service provider entity ID. |
|
acsUrls[] |
Assertion Consumer Service URLs. |
|
sloUrls[] |
Single Logout Service URLs. |
AssertionConsumerServiceURL
Assertion Consumer Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where SAML responses are sent. |
|
index |
string (int64) Optional index for the assertion consumer service. |
SingleLogoutServiceURL
Single Logout Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where logout requests are sent. |
|
responseUrl |
string Optional separate URL for logout responses. |
|
protocolBinding |
enum (ProtocolBinding) Required field. Protocol binding supported by the logout endpoint.
|
SecuritySettings
Security settings for SAML applications.
|
Field |
Description |
|
signatureMode |
enum (SignatureMode) Signature mode for SAML messages.
|
|
signatureCertificateId |
string ID of the signature certificate to use. |
AttributeMappingSpec
Attribute mapping specification for SAML application.
|
Field |
Description |
|
nameId |
Required field. NameID configuration. |
|
attributes[] |
List of attribute mappings. |
NameIdSpec
NameID specification for SAML application.
|
Field |
Description |
|
format |
enum (Format) Required field. Format of the NameID.
|
Attribute
Attribute mapping for SAML applications.
|
Field |
Description |
|
name |
string Required field. Name of the SAML attribute. |
|
value |
string Required field. Value of the SAML attribute. |
GroupClaimsSettings
Group claims settings for SAML applications.
|
Field |
Description |
|
groupDistributionType |
enum (GroupDistributionType) Distribution type for group claims.
|
|
groupAttributeName |
string Name of the SAML attribute that contains group information. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"description": "string",
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"done": "boolean",
"metadata": {
"applicationId": "string"
},
// Includes only one of the fields `error`, `response`
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"response": {
"id": "string",
"organizationId": "string",
"name": "string",
"description": "string",
"status": "string",
"labels": "object",
"createdAt": "string",
"updatedAt": "string",
"serviceProvider": {
"entityId": "string",
"acsUrls": [
{
"url": "string",
"index": "string"
}
],
"sloUrls": [
{
"url": "string",
"responseUrl": "string",
"protocolBinding": "string"
}
]
},
"securitySettings": {
"signatureMode": "string",
"signatureCertificateId": "string"
},
"attributeMapping": {
"nameId": {
"format": "string",
"value": "string"
},
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"groupClaimsSettings": {
"groupDistributionType": "string",
"groupAttributeName": "string"
},
"identityProviderMetadata": {
"issuer": "string",
"ssoUrl": "string",
"metadataUrl": "string",
"sloUrl": "string"
}
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
|
Field |
Description |
|
id |
string ID of the operation. |
|
description |
string Description of the operation. 0-256 characters long. |
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
|
createdBy |
string ID of the user or service account who initiated the operation. |
|
modifiedAt |
string (date-time) The time when the Operation resource was last modified. String in RFC3339 To work with values in this field, use the APIs described in the |
|
done |
boolean If the value is |
|
metadata |
Service-specific metadata associated with the operation. |
|
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
|
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
UpdateApplicationMetadata
Metadata for the ApplicationService.Update operation.
|
Field |
Description |
|
applicationId |
string ID of the SAML application that is being updated. |
Status
The error result of the operation in case of failure or cancellation.
|
Field |
Description |
|
code |
integer (int32) Error code. An enum value of google.rpc.Code |
|
message |
string An error message. |
|
details[] |
object A list of messages that carry the error details. |
Application
A SAML application resource.
|
Field |
Description |
|
id |
string Unique identifier of the SAML application. |
|
organizationId |
string ID of the organization that the application belongs to. |
|
name |
string Name of the SAML application. |
|
description |
string Description of the SAML application. |
|
status |
enum (Status) Current status of the SAML application.
|
|
labels |
object (map<string, string>) Resource labels as |
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedAt |
string (date-time) Modification timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
|
serviceProvider |
Service provider configuration for the SAML application. |
|
securitySettings |
Security settings for the SAML application. |
|
attributeMapping |
Attribute mapping configuration for the SAML application. |
|
groupClaimsSettings |
Group claims settings for the SAML application. |
|
identityProviderMetadata |
Identity provider metadata for the SAML application. |
ServiceProvider
Service provider configuration for SAML applications.
|
Field |
Description |
|
entityId |
string Required field. Service provider entity ID. |
|
acsUrls[] |
Assertion Consumer Service URLs. |
|
sloUrls[] |
Single Logout Service URLs. |
AssertionConsumerServiceURL
Assertion Consumer Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where SAML responses are sent. |
|
index |
string (int64) Optional index for the assertion consumer service. |
SingleLogoutServiceURL
Single Logout Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where logout requests are sent. |
|
responseUrl |
string Optional separate URL for logout responses. |
|
protocolBinding |
enum (ProtocolBinding) Required field. Protocol binding supported by the logout endpoint.
|
SecuritySettings
Security settings for SAML applications.
|
Field |
Description |
|
signatureMode |
enum (SignatureMode) Signature mode for SAML messages.
|
|
signatureCertificateId |
string ID of the signature certificate to use. |
AttributeMapping
Attribute mapping configuration for SAML applications.
|
Field |
Description |
|
nameId |
Required field. NameID configuration for the SAML application. |
|
attributes[] |
List of attribute mappings. |
NameId
NameID configuration for SAML applications.
|
Field |
Description |
|
format |
enum (Format) Required field. Format of the NameID.
|
|
value |
string Required field. Value of the NameID. |
Attribute
Attribute mapping for SAML applications.
|
Field |
Description |
|
name |
string Required field. Name of the SAML attribute. |
|
value |
string Required field. Value of the SAML attribute. |
GroupClaimsSettings
Group claims settings for SAML applications.
|
Field |
Description |
|
groupDistributionType |
enum (GroupDistributionType) Distribution type for group claims.
|
|
groupAttributeName |
string Name of the SAML attribute that contains group information. |
IdentityProviderMetadata
Identity provider metadata for SAML applications.
|
Field |
Description |
|
issuer |
string Identity provider issuer identifier. |
|
ssoUrl |
string Identity provider Single Sign-On URL. |
|
metadataUrl |
string Identity provider metadata URL. |
|
sloUrl |
string Identity provider Single Logout URL. |