segments

Delete a segment

Deletes a segment. Every brand-segment attachment is removed at the same time; the brands themselves are left untouched, although a brand whose only segment this was derives back to discovered. A project must keep at least one segment, so attempting to delete the last one will return 422.

delete/api/v1/segments/{segment}

Request

  • Base URL: https://pineprompt.com
  • URL: https://pineprompt.com/api/v1/segments/{segment}
  • Auth: HTTP bearer

Path parameters

segmentinteger required
Example:7

The numeric ID of the segment.

Headers

Pineprompt-Project-Idinteger required

The active project's numeric ID.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.