Remove an example from a style
Removes one example by its position and key (from the style’s examples). If the list changed since you read it, the call is refused with 409 item_moved instead of removing the wrong example.
Authorizations
Send your API key in the x-api-key header on every request.
- Create a key in PostChamp under Settings → API keys. API access needs the Studio plan.
- Keys start with
pc_live_. The full key is shown once, when you create it: copy it then. Afterwards only its prefix is shown; lost keys are revoked and replaced. - Calls run as the person who created the key, with their current role, and spend the organization's credits.
- Limits per key: 120 requests per minute, 20 generation calls per minute. Keep the key on your server, never in a browser or app.
Path Parameters
Example: "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f"
Required string length: 1 - 100
Example: "preset:story"
Required range: 0 <= x <= 99
Example: 0
Query Parameters
Pattern: ^[0-9a-f]{16}$
Response
The style without that example.
preset:<key> for built-ins, else the style uuid.
Available options: preset, custom
Available options: story, contrarian, lesson_learned, build_in_public, observational, reflection, milestone, tactical, null
Send it back when removing the example.