Get organization memberships of the current user
GET
/v1/memberships
This is used both in CLI and frontend to know the
organisations a user belongs to.
Authorizations
apiKey
API key as username in Basic Authorization with
empty password.
TypeAPI Key (header: Authorization)
or
jwtToken
TypeHTTP (bearer)
Responses
Found
application/json
JSON
[
{
"member_id": 0,
"org_display_name": "Terramate GmbH",
"org_domain": "terramate.io",
"org_name": "terramate",
"org_uuid": "7af57dbe-4f8a-4046-b5f7-135a79f478b3",
"role": "admin",
"status": "active"
}
]