Switch organization
POST
/v1/auth/organizations/{id}
const url = 'https://api.adversarial.com/api/v1/auth/organizations/123e4567-e89b-12d3-a456-426614174000';const options = {method: 'POST'};
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.adversarial.com/api/v1/auth/organizations/123e4567-e89b-12d3-a456-426614174000Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Organization ID
Example
123e4567-e89b-12d3-a456-426614174000Responses
Section titled “Responses”OK
Internal server error