Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. Object user assignment tasks

Object user assignement all

API reference (XML/JSON) · Updated 2023-09-18

Function

The ObjectUserAssignement All task assigns to a user all objects of another user in whose administration they are. The <cancelation> keyword can be used to control the deletion of existing cancellations. Possible objects are domains, zones, domain contacts, preregistrations, redirects, BackupMX and TMCH.

Description

Route: PUT /object/_assignment/all

{
    "source": {
        "user": "customer",
        "context": 4
    },
    "target": {
        "user": "target_user",
        "context": 4
    }
}
{
    "stid": "20211104-app-9057",
    "status": {
        "code": "S1308001",
        "text": "All objects were assigned successfully to the new user.",
        "type": "SUCCESS"
    }
}