Docs
Bulk Repoint Component
PUT /resourceTypes/{resourceTypeId}/components/{componentId}/repoints
PUT
/resourceTypes/{resourceTypeId}/components/{componentId}/repointsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Route 17b. Repoints one component on many variants in one transaction, so a bulk edit never half-applies. Each entry is a route 17 body plus its variantId. An entry equal to the component's own target deletes that variant's repoint, so a bulk reset is the same call.
Requires
ResourceTypeDatabase.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The composite type. |
| componentId | Guid | Required | The component. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| repoints | array | Required | `{ variantId, targetResourceTypeId, targetResourceVariantIds[], quantity, isExcluded }`. At least one; each variant once. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Empty or duplicate list, or any entry route 17 would refuse. |
| 404 | Type, component, a variant or a target not found. |