Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Process Update Service Provider

PUT /ecs-service-provider

Updatess a service provider using the specified attributes. The submitted provider element values will be validated. The optional set of parameters are:

  • java_keystore/li>
  • key_alias
  • key_password
  • dns

  • Required Roles

    • SYSTEM_ADMIN


    Request Payload

    All parameters are required unless otherwise stated.

    Field Description Type Notes
    service_provider_update
    service_provider    
    java_keystore A repository of security keys and certificates String
    key_alias The unique alias used for accessing the keystore entry. String
    key_password The password used for accessing the keystore entry. String
    dns The host to be used in the entity base url. String
    unique_id The unique identifier of the keystore. String
    uuid Used in the entity Id. String
    etag The tag to be used for editing the service provider. String
    create_time The date the provider was created. String
    last_modified The date the provider was last modified. String

    Response Body

    Newly created service provider details


    Examples

    Request
    PUT https://192.168.0.0::4443/ecs-service-provider
    Content-Type : application/xml
    Accept: appliction/xml
    X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
    <service_provider_update>
    
        <service_provider>
    
            <java_keystore>/u3+7QAAAAIAA. . .</java_keystore>
    
            <key_password>pass123</key_password>
    
            <dns>127.0.0.1</dns>
    
            <key_alias>saml</key_alias>
    
        </service_provider>
    
    </service_provider_update>
    Response
    HTTP/1.1 200 OK
    Content-Type: application/xml
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <UpdateServiceProviderResponse>
        <ResponseMetadata>
            <RequestId>0af9f5b8:17178fe9282:22c99:0</RequestId>
        </ResponseMetadata>
        <UpdateServiceProviderResult>
            <service_provider>
                <create_time>2020-04-16T19:42:02Z</create_time>
                <dns>127.0.0.1</dns>
                <etag>0000000000000001</etag>
                <java_keystore>/u3+7QAAAAIAAAABA. . .</java_keystore>
                <key_alias>saml</key_alias>
                <key_password>pass123</key_password>
                <last_modified>2020-04-16T19:47:05Z</last_modified>
                <unique_id>48eef7e9-aadc-3a01-813b-54b06abb8d80</unique_id>
                <uuid>25e0e516-a30f-49b0-bcbc-b2fb9ee96c90</uuid>
            </service_provider>
        </UpdateServiceProviderResult>
    </UpdateServiceProviderResponse>