List workflows using a secret or variable
GET/workflows/config/:id/usage
Lists the workflows that use the entry, paginated. Check it before you delete an entry. A workflow uses an entry when all of these hold:
- The entry lives on the workflow itself, on its folder, or on a folder above it.
- No entry with the same name sits closer to the workflow, so this is the entry the workflow resolves.
- Its latest revision, or the revision of one of its active aliases, references the name:
secrets.NAMEfor a secret,vars.NAMEfor a variable.
Only the workflows you can read are listed and counted, so with access to part of the organization the list can be shorter than the real usage.
Request
Responses
- 200
- 503
- 4XX
- 5XX
The paginated list of workflows that use the entry.
The secrets and variables store is not configured on this engine (config_entries_unavailable), as plain JSON.
Client error. Invalid paging parameters return a problem body; an unknown entry is a plain JSON 404 (not_found).
Unexpected server error.