cURL
curl --request GET \ --url https://us.infisical.com/api/v2/organizations/{organizationId}/workspaces \ --header 'Authorization: Bearer <token>'
{ "workspaces": [ { "id": "<string>", "name": "<string>", "slug": "<string>", "organization": "<string>", "environments": [ { "name": "<string>", "slug": "<string>" } ] } ] }
Return projects in organization that user is apart of
Show child attributes
Was this page helpful?