Skip to main content

persons/{uid}/domains (PUT)

Assigns translation domains to a company.

To obtain the list of all domains by API: settings/domains/codes

URL

(PUT) /api/persons/{uid}/domains

PARAMETERS

The URL parameters are:

uid

The person ID. This can be an internal or internal person (user)

int, Mandatory

The body must contain a JSON array with the numeric IDs of translation domains.

Examples:

Payload to assign 3 domains to a person:

CODE
[ 600, 56, 423 ]

Payload to remove all domains from a person:

CODE
[ ]

The above removal can also be achieved with method persons/{uid}/domains (DELETE)

RESULTS

The result is a JSON array with the person domains. The result is the same as with this API method: persons/{uid}/domains



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.