Bulk Operations

Bulk Delete Resource Instances

Deletes many Resource Instances.

delete/v2/facts/{proj_id}/{env_id}/bulk/resource_instances

Request

  • Base URL
    https://api.permit.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Request body

identsstring[] required

List of resource instance idents to delete. Either the unique id of the resource instance, or the URL-friendly key of the <resource_key:resource_instance_key> (i.e: file:my_file)

Example request

{
  "idents": [
    "repository:react",
    "repository:deployment"
  ]
}

Response

Successful Response

ResourceInstanceDeleteBulkOperationResult required

Changes

No recorded changes to this operation across all 25 revisions of this API.