The following request registers a product linked with
Common Services in a data center.
Execution permission
You must be a system administrator or a security administrator.
Request line
PUT base-URL/app/v1/datacenters/object-ID-of-the-data-center/application-services/application-service-ID
Request message
- Object ID of the data center
-
Specify the value of id acquired by using the request for getting information about a list of data centers.
Attribute
Type
Description
id
string
(Required) Object ID of the data center
- Application service ID
-
Specify the value of id acquired by using the request for getting information about a list of products linked with Common Services.
Attribute
Type
Description
application-service-id
string
(Required) Object ID of the product
- Query parameters
- None.
- Body
- None.
Coding example
curl -v -X PUT -s "https://example.com:443/portal/app/v1/datacenters/8a44f59a6f785e31016f7957f7db0005/application-services/8a44f59a6f785e31016f78651c820000" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL
communication, you must either run the curl command with the root
certificate of the Common Services server certificate
specified for the --cacert option, or run the command with the
-k option specified. (The -k option runs the command by
ignoring SSL errors.)