
...
</accessPoint>
<providerType>
<id>90d96588360da0c701360da0eeac0016</id>
...
</providerType>
<numberOfResourceOffering>0</numberOfResourceOffering>
<numberOfEnvironment>0</numberOfEnvironment>
<numberOfPools>0</numberOfPools>
</ResourceProvider>
Delete an artifact
Details
URI
/artifact/<artifact_id>
Method DELETE
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 91 for the steps required to get the userIdentifier value.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Deletion is subject to a set of business rules which depend on the type of artifact. The business
rules for artifacts are explained in the table below. Note that consumption artifacts are not removed
from the database when they are deleted; instead, the artifact is marked as retired. Please refer to
the"Catalog API" on page 44 for retiring consumption artifacts.
Artifact type Details
Resource
provider
Can only be deleted if no active service subscriptions use the resource
provider.
Service design Can be deleted when all associated service offerings or service instances are
retired.
Retrieve a predefined view for an artifact
Because the REST API presented here returns content ina different format when retrieving a single
result versus multiple results, and could thereby complicate your using the results, it is
recommended that the "View an artifact" on page 12API be used. Performance intensive
applications might stillchoose to use the following API.
APIReference
HP Cloud Service Automation (4.10) Page 17 of 150
Comentarios a estos manuales