Skip to main content
PATCH
Node.js SDK

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Path Parameters

id
string
required

Segment ID

Body

application/json
projectId
string
required
name
string
Maximum string length: 200
description
string
Maximum string length: 500
filters
object

Response

Segment updated

success
boolean
required
data
object
error
string | null