Create asset key
documentedCreate an asset signing key for preview-embargoed URLs.
POST /spaces/{space_id}/asset_keysAsset keysno 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.contentful.com/spaces/{{$space_id}}/asset_keys" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/vnd.contentful.management.v1+json" \
-H "Accept: application/json" \
-d '{"expiresAt": {{$expires_at}}}' \
# Source: Contentful Content Management API - Asset keys (POST /spaces/{space_id}/asset_keys) — expiresAt is required (Unix epoch seconds) and must be within 48 hours in the future. Base URL: https://api.contentful.com. See asset keys docs for details.