Delete multiple objects based on a list of URIs
post/deletions
Delete multiple objects based on a list of URIs. This endpoint currently only supports deleting agents, instances, and locks; type definitions and search index definitions are not supported.
1{2 "/catalog/bots/af349db0-0691-4510-bd01-122417810f7b": {},3 "/catalog/instances/49ea0241-251d-4268-ad95-8f30c0ce1e72": {}4}
Name | Type | Required | Description |
---|---|---|---|
Content-Type | string | true | The representation in the request body. Allowed values: application/vnd.sas.selection+jsonapplication/json Default: application/vnd.sas.selection+json |
Accept | string | false | The desired representation for the response. Allowed value: application/json Default: application/json |
Identifies a set of resources.
Name | Type | Required | Description |
---|---|---|---|
version | integer | true | The schema version number of this media type. This representation is version 1. |
template | string | false | A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. |
type | string | false | Specifies whether the resources array contains IDs, URIs, or both. Allowed values: idurimixed |
resources | array [string] | true | An array of resource IDs or URIs |
links | array [Link] | false | An array of links to related resources and actions. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded, and the content's `resources` were empty or at least one of the `resources` was deleted successfully. The response body is a mapping from each value in the `resources` of the content to an empty object if that deletion succeeded, or the error for that deletion if that deletion failed. If at least one deletion succeeded, errors for individual deletions do not result in an error status for the whole response. | Headers | Schema |
400 | Bad Request | Bad request; either the request is not well-formed, or all individual operations failed. In the latter case, the response body is an object containing the errors as described above for a successful request; the response code is 400 if all operation status codes are not the same, or the shared status code if they are the same. | Schema | |
401 | Unauthorized | Not authenticated. | Schema | |
403 | Forbidden | The user does not have permission to complete this request. | Schema | |
404 | Not Found | The specified resource was not found. | Schema | |
415 | Unsupported Media Type | Unsupported Media Type. Include a Content-Type header with a supported value in the request. | Schema | |
500 | Internal Server Error | The Catalog service encountered an error. | Schema |