curl --request POST \
--url https://staging.api.us.aptlydone.com/matrix/v1/matrix/bulk-reassign-owner \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"matrixIds": [
"36a2448a-4006-42a4-b363-25965cd1327b",
"c84d88ae-5c87-457e-872a-5000dbbe95f4"
],
"ownerId": "dcf78b02-aa2b-4e12-bff6-053e7d642166"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:11.638Z",
"message": "Success",
"data": {
"successCount": 5,
"failureCount": 0,
"successIds": [
"eef73c08-9e42-4289-a982-eb2be34094a7",
"30cf2dc5-1a88-4e94-a40c-dc54e0d05270"
],
"failures": {
"de9877f2-a97d-409c-ae77-cb1a35b16026": "Matrix not found",
"f3a92dd3-a1a3-4031-b11c-4a657ebc3d10": "Unauthorized operation"
}
}
}
curl --request POST \
--url https://staging.api.us.aptlydone.com/matrix/v1/matrix/bulk-reassign-owner \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"matrixIds": [
"36a2448a-4006-42a4-b363-25965cd1327b",
"c84d88ae-5c87-457e-872a-5000dbbe95f4"
],
"ownerId": "dcf78b02-aa2b-4e12-bff6-053e7d642166"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:11.638Z",
"message": "Success",
"data": {
"successCount": 5,
"failureCount": 0,
"successIds": [
"eef73c08-9e42-4289-a982-eb2be34094a7",
"30cf2dc5-1a88-4e94-a40c-dc54e0d05270"
],
"failures": {
"de9877f2-a97d-409c-ae77-cb1a35b16026": "Matrix not found",
"f3a92dd3-a1a3-4031-b11c-4a657ebc3d10": "Unauthorized operation"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Matrices reassigned successfully
The response is of type object
.