Switch organization by slug
POST
/v1/auth/organizations/slug/{slug}
const url = 'https://api.adversarial.com/api/v1/auth/organizations/slug/acme';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/slug/acmeParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Organization slug
Example
acmeResponses
Section titled “Responses”OK
Organization not found
Internal server error