Contractor
Contractors

Transfer organization ownership

Transfer ownership of an organization to another member. Only the current owner can perform this action.

post/api/contractors/{spectrum_id}/transfer-ownership

Request

  • Base URL: https://api.sc-market.space
  • URL: https://api.sc-market.space/api/contractors/{spectrum_id}/transfer-ownership
  • Auth: none required

Path parameters

spectrum_idstring required

Contractor spectrum ID

Request body

usernamestring required

Username of the member to transfer ownership to

Example request

{
  "username": "newowner"
}

Response

OK - Ownership successfully transferred

Example response

{
  "data": {
    "result": "Success",
    "message": "Ownership transferred to newowner"
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.