Skip to content

Delete an export column preset

Open .md

DELETE/v1/api/store/{team_slug}/data_export/presets/{presetId}

v1Operation ID v1_public_data_export_presets_delete

Deletes a preset for good. You can delete your own personal presets. Only the team owner can delete a shared team preset. Answers 204 with an empty body.

Permission

Your own personal presets: you. Shared team presets: the team owner only.

Path parameters

  • team_slugstringrequired

    Your team slug, shown as Team ID next to your API key in Profile.

    • Example your-team
  • presetIdstringrequired

    The preset's id, from the presets list.

    • Example ZUFZpcm8jcw4J0

Request body

This operation takes no request body.

Response

204Deleted. The body is empty.

No response body.

Errors

  • 401The API key is missing or wrong (unauthenticated).

  • 403A shared preset and you are not the team owner (team_default_forbidden), or another member's personal preset (preset_forbidden, "You can only remove your own presets.").

    When
    It is a shared preset and you are not the team owner (team_default_forbidden, "Only the team owner can remove a shared preset."), or it is another member's personal preset (preset_forbidden, "You can only remove your own presets.").
    Fix
    Delete only your own presets, or ask the team owner.
  • 404Not found. page_not_found: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's. code: null, with a message that starts "No query results for": there is no record with that id.

    When
    No preset of this team has this id.
    Fix
    Use an id from the presets list.

Notes

  • The team owner can't delete another member's personal preset either.