Update Segment
PATCH {{baseUrl}}/api/segments/:id/
Update the name of a segment with the given segment ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
Segments Write
Request Body
{"data"=>{"type"=>"segment", "id"=>"cillum sed", "attributes"=>{"name"=>"in aliq"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"type":"segment","id":"eiusmod aliquip cupidatat exercitation","attributes":{"name":"enim ad culpa","created":"2022-11-08T00:00:00","updated":"2022-11-08T00:00:00"},"links":{"self":"http://fawYvbViaiOfkCReCxreJzXlpZ.gasyBK2ELcOwEIExb26YyRC"}}}