Custom Sink Packs

Enable a sink template

Enable a single sink template from a pack. Interpolates parameter placeholders, creates a CustomSinkDeclaration, and records the activation.

post/api/v2/customSinkPacks/enableTemplate

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required
templateIdstring required

The template to enable

parameterValuesobject

Values for template parameter placeholders

globPatternstring

Glob pattern for files this sink applies to

repositoryIdsstring[]

Repository IDs to restrict this sink to. When empty, applies org-wide.

Response

Template enabled successfully

instanceIdstring required
declarationIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.