Docs
Update Constraint
PUT /constraints/{constraintId}
PUT
/constraints/{constraintId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Updates all fields of an existing constraint, including its resolution status.
Requires EventProjectManagementAdmin permission on the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| constraintId | Guid | Required | The constraint to update. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Constraint name. |
| description | string | Optional | Details about the constraint. |
| type | string | Required | Constraint type. |
| status | string | Required | Resolution status. |
| constrainedByTaskId | Guid? | Optional | Blocking task ID. Required when `type` is `Task`. |
| constrainedTaskIds | Guid[] | Required | IDs of affected tasks. All must exist. |