Skip to main content

Transfer forms between users

Description: To transfer all forms from one user to another, a HTTP PUT request is made to the URL with the user ID and session token.

Method: PUT

URI: /users/user_id/transfer

URI Parameters

  • user_id: The ID of the user that the forms are being transferred from.

Parameters

  • transfer_user_id: The ID of the user that the forms are being transfered to.

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
MessageStringMessage relating to the update.

Example

Request
curl https://app-api.reiformslive.com.au/users/1/transfer \
--request PUT \
--header "content-type: application/json" \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ==" \
--data '{
"transfer_user_id":"2"
}'
Response
{
"message": "The forms have been transferred successfully."
}