跳到主要内容
版本:v0.6

Delete resources for a resource definition.

Delete resources for a resource definition.

Delete resources for a resource definition.

Query Parameters
    preview boolean
    withoutCleanup boolean
Request Body required
    items object[] required
  • Array [
  • id string
    name string
  • ]
Responses

OK


Schema
    message string
    status integer

    Default value: 200

    statusText string

    Default value: OK

DELETE /v1/resource-definitions/:resourcedefinition/resources

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
preview — query
withoutCleanup — query
Body required
{
"items": [
{
"id": "string",
"name": "string"
}
]
}
curl / cURL
curl -L -X DELETE 'https://seal-io.github.io/v1/resource-definitions/:resourcedefinition/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"items": [
{
"id": "string",
"name": "string"
}
]
}'