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"=>"aliqua nulla occaecat et", "attributes"=>{"name"=>"quis dolor culpa"}}}

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"type":"segment","id":"culpa ad mollit","attributes":{"name":"magna minim consequat dolor","created":"1982-02-10T20:13:56.876Z","updated":"1948-12-31T04:20:57.960Z"},"links":{"self":"http://zEEXiVEenPJsZjEFejOlmicZuXTBViiH.vbjhLf5Ra454SKDgL1Wj"}}}