Python
import requests url = "https://platform.ankra.app/api/v1/organisations/switch" payload = { "organisation_id": "<string>" } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.json())
{ "success": true, "message": "<string>" }
Successful Response
The response is of type object.
object