Transfers ownership of one or more reports to a different user.
You can transfer ownership using either reportNames
or reportIds
.
Authorization requirement:
The user who obtains the OAuth token must have the Zuora Reporting Administrator role.
To get the userId
of the new owner, navigate to:
Administration Settings > Manage Users > Click the new owner name > In the URL, locate the id
value:https://{zuora_endpoint}/apps/UserLogin.do?method=view&id=<userId>&...
That id
is the newOwnerUserId
.
Idempotency-Key | string <= 255 characters Specify a unique idempotency key if you want to perform an idempotent POST or PATCH request. Do not use this header in other request types. With this header specified, the Zuora server can identify subsequent retries of the same request using this value, which prevents the same operation from being performed multiple times by accident. |
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization required | string The value is in the |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
Ownership transfer was successful.
Bad request. Check if the input is valid or if required fields are missing.
Unauthorized. The OAuth token is missing or invalid.
Internal server error. Try again later or contact support.
{- "reportIds": [
- "ff808081529f4e3401529fd61f080074",
- "ff808081529f4e3401529fd61f080075"
], - "newOwnerUserId": "4c85f2b42ba949569a5d15e77c6b9742"
}
{- "success": true,
- "response": "Transfer ownership successfully"
}