Delete a segment

Request

Deletes a segment with a specified ID. This operation also removes all shares of the deleted segment.

Important: This operation can only be performed by the segment owner.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

curl -i -X DELETE \
  'https://www.rebilly.com/_mock/catalog/all/grid-segments/{id}' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Segment deleted.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Response
No content