Skip to main content
POST
/
organizations
/
{organizationName}
/
workspaces
/
{workspaceName}
/
packages
Adds package access to a workspace
curl --request POST \
  --url https://{organization}.admin.credibledata.com/api/v0/organizations/{organizationName}/workspaces/{workspaceName}/packages \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "description": "<string>",
  "groupName": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "packages": [
    "<string>"
  ],
  "workspaceType": "PersonalInfra"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationName
string
required

The unique identifier of the organization Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
workspaceName
string
required

The unique identifier of the workspace Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$

Query Parameters

projectName
string
required

The unique identifier of the project Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
packageName
string
required

The unique identifier of the package Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$

Response

Workspace package permission created successfully

Represents a collaborative workspace for team-based data modeling and analysis

name
string

The unique name of the workspace within its organization

Pattern: ^[a-zA-Z0-9_-]+$
description
string
groupName
string | null

Human-readable description of the workspace's purpose and scope

createdAt
string<date-time>

ISO 8601 timestamp indicating when the workspace was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the workspace was last modified

packages
string[]

Array of package resource identifiers that are accessible in this workspace

Path pattern supporting slashes, dots, and dashes

Pattern: ^[a-zA-Z0-9_/.-]+$
workspaceType
enum<string>

The type of workspace. PersonalInfra for personal workspaces, Group for shared workspaces.

Available options:
PersonalInfra,
Group