Defines a set of subject ids as referring to the same data subject.

PUT /v1/subjects/{type}/{subjectId}/aliases
Content-Type: application/json

Request body contains a list of subject IDs:

[
  {
    "type": "user",
    "id": "123"
  },
   ...  
]

All the given subjects must be already defined in this account. After this call, consent records of all the subjects are consolidated into a single consent record. If any one of the subjects give consent to a granule, that affects all alias subjects.

Response

200 Ok

Aliases successfully added.

403 Forbidden

The authenticated key does not have the privileges for this operation. The return value is a JSON error object containing diagnostic information.

404 Not Found

Subject was not found.