cURL
curl --request PATCH \ --url https://api.nitrosend.com/v1/my/segments/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "filters": [ { "name": "<string>", "predicate": "<string>", "value": "<unknown>" } ] } '
{ "id": 123, "account_id": 123, "name": "<string>", "filters": [ { "name": "<string>", "predicate": "<string>", "value": "<unknown>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
API key (nskey_live_...) or JWT token. API key is checked first; if not found, falls back to Devise JWT authentication.
nskey_live_...
Show child attributes
Updated segment