Auth

Switch to a different organization within the current workspace

POST
http://localhost:3000/api/auth/switch-organization

Body

application/json
organizationIdstringrequired

The organization ID to switch to

Example
550e8400-e29b-41d4-a716-446655440000

Response

200OK

Successfully switched organization. Returns new authentication tokens.

400Bad Request

Invalid organization switch request. Check that organizationId is a valid UUID.

401Unauthorized

User not authenticated or does not have access to the organization.

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey