Skip to main content
GET
/
v1
/
workspace
/
{ws}
/
rbac
cURL
curl -X GET 'http://localhost:8080/v1/workspace/ws_example/rbac' \
  -H 'Authorization: Bearer ek_live_xxxxx'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user": {
      "email": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    },
    "isOwner": true,
    "scope": {
      "all": true,
      "teams": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "projects": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "environments": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    },
    "invitedAt": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.enkryptify.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Pass Authorization: Bearer ek_live_xxxxx on every request.

Path Parameters

ws
required
Required string length: 2 - 48
Pattern: ^[a-z0-9-]+$

Response

200 - application/json

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
workspaceId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
user
object
required
role
enum<string>
required
Available options:
admin,
developer,
member
status
enum<string>
required
Available options:
invite-sent,
account-created,
declined,
expired
isOwner
boolean
required
scope
object
required
invitedAt
string<date-time>
required