Transfer organization ownership
POST
/organizations/{id}/transfer-ownership
const url = 'https://api.krakenkey.io/organizations/example/transfer-ownership';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"alice@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.krakenkey.io/organizations/example/transfer-ownership \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "alice@example.com" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Organization UUID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
Email address of the member to transfer ownership to
string
Example
alice@example.comResponses
Section titled “Responses”Ownership transferred