Clinia
RegistryResources

Delete a contained resource in the registry

DELETE
/sources/{sourceKey}/v1/resources/{resourceType}/{id}/{containKey}/{containedResourceId}

Delete a contained resource in the registry.

headerX-Clinia-API-Key<token>
sourceKey*string

The key of the source.

resourceType*string

Type of the resource. Key of the profile.

id*string

Id of the resource.

containKey*string

Key of the contained resource. This is the key of the profile that defines the contained resource type.

containedResourceId*string

Id of the contained resource.

Response Body

A successful response.

application/json
  1. response

Response when a task has been accepted for asynchronous processing. The task will be executed in the background.

taskId*v1TaskId

The task identifier. Used to track an async task in the system. Use the task ID to poll for completion status. The taskId holds different prefix to represent different tasks.

  • oneOf task: s_<id>.
  • bulk task: bk_<id> (deprecated: <id> only).
  • bundle task: bd_<id> (deprecated: <id> only).
  • purge task: pg_<id> (deprecated: purge:<id>).
status*v1TaskSubmissionStatus

Status of the task submission.

  • ACCEPTED: The task has been accepted for asynchronous processing. The task will be executed in the background.
  • PERSISTED: The task has been executed synchronously and the results are immediately persisted.
Value in"ACCEPTED""PERSISTED"
Example Request
curl -X DELETE 'https://api..clinia.cloud/sources/string/v1/resources/string/string/string/string'
Example Response
{  "taskId": "string",  "status": "ACCEPTED"}