PUT/account/siteowner.json
Change the Site Owner
Changing the site owner can be done by passing in a user ID. In order for someone to be a site owner they must already be an administrator.
You need to use the api key of the site owner to change it. It cannot be done on another account.
Request Examples
Example Request
PUT
/account/siteowner.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/stats.json
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 Response
200 Response
application/json
{
"STATUS": "OK"
}