Delete an injectable

Delete an injectable from a project. This permanently removes the injectable and prevents it from being delivered or retrieved by any SDK or API client.

⚠️ This action is irreversible.

Endpoint

DELETE /v1/project/{project}/injectables/{injectable}

Authentication

All requests must include a valid third-party API key:

X-API-KEY: YOUR_API_KEY

Path Parameters

Parameter
Type
Description

project

integer

ID of the project that owns the injectable

injectable

integer

ID of the injectable to delete

Request Example

curl -X DELETE "https://api.devpayr.com/v1/project/2/injectables/5" \
  -H "X-API-KEY: YOUR_API_KEY"

Error Responses

Status Code
Description

403

API key does not have permission to delete injectables for this project

404

Injectable not found or does not belong to the specified project


Important Notes

  • Deleting an injectable removes it permanently from the project.

  • Once deleted, the injectable:

    • cannot be retrieved via the API

    • will no longer be delivered by any SDK

  • If you only want to temporarily stop delivery, update the injectable and set is_active to false instead of deleting it.

Last updated