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.
For detailed usage examples including curl commands, see the Transfer Report Ownership Zuora Knowledge Center article.
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.
Include the Accept-Encoding: gzip header to compress responses as a gzipped file. It can significantly reduce the bandwidth required for a response.
If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a Content-Encoding header with the compression algorithm so that your client can decompress it.
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 (:), semicolon (;), double quote ("), and quote (').
List of report names to transfer.
Optional if reportIds is supplied.
[ "Report 1", "Report 2" ]
- https://rest.zuora.comhttps://rest.zuora.com/reporting/api/rest/v1/reports/transfer-ownership
{ "reportNames": [ "Report 1", "Report 2" ], "newOwnerUserId": "4c85f2b42ba949569a5d15e77c6b9742" }
Ownership transfer was successful.
This header is returned if you specify the Accept-Encoding: gzip request header and the response contains over 1000 bytes of data.
Supported MIME types for gzip:
application/jsonapplication/xmltext/htmltext/csvtext/plain
The number of requests remaining in the time window closest to quota exhaustion.
The number of seconds until the quota resets for the time window closest to quota exhaustion.
{ "success": true, "response": "Transfer ownership successfully" }