Create API key for a company
documentedGenerate a new API key for a company.
POST /rest/v2/agency/companies/{company_id}/api_keysAgencyno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.woodpecker.co/rest/v2/agency/companies/{{$company_id}}/api_keys" \
-X POST \
-H "x-api-key: {{WOODPECKER_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"label": "{{$label}}"}'