Organization
Return all existing roles in the organization
🔒 Requires the read:organization permission
All existing roles
All existing roles
The role ID
rol_abCdeFghIjklMnmPThe role name
AdminThe role description
Role for managing Admin permissionsBad request
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:organization permission
Roles not found
Too many requests
GET /api/v1/organization/roles HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
]Return information about current organization
🔒 Requires the read:organization permission
Information about organization
Information about organization
The organization ID
org_abCdeFghIjklMnmPThe organization slug, provided by Bluebricks, cannot be changed
acme-corpThe organization display name, can be changed
ACME Corp.The organization trial status
trueThe organization creation date
2021-01-01T00:00:00ZThe organization trial start date
2021-01-01T00:00:00ZFailed to fetch organization information
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:organization permission
Organization not found
Too many requests
GET /api/v1/organization HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "org_abCdeFghIjklMnmP",
"name": "acme-corp",
"display_name": "ACME Corp.",
"branding": {
"logo_url": "https://example.com/logo.png",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"metadata": {
"org_status": "paid"
},
"is_trial": true,
"created_at": "2021-01-01T00:00:00Z",
"trial_started": "2021-01-01T00:00:00Z"
}Update current organization
🔒 Requires the update:organization permission
The organization slug, provided by Bluebricks, cannot be changed
acme-corpThe organization display name, can be changed
ACME Corp.Updated information about organization
Updated information about organization
The organization ID
org_abCdeFghIjklMnmPThe organization slug, provided by Bluebricks, cannot be changed
acme-corpThe organization display name, can be changed
ACME Corp.The organization trial status
trueThe organization creation date
2021-01-01T00:00:00ZThe organization trial start date
2021-01-01T00:00:00ZFailed to update organization
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:organization permission
Too many requests
PATCH /api/v1/organization HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"name": "acme-corp",
"display_name": "ACME Corp.",
"branding": {
"logo_url": "https://example.com/logo.png",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"metadata": {
"org_status": "paid"
}
}{
"id": "org_abCdeFghIjklMnmP",
"name": "acme-corp",
"display_name": "ACME Corp.",
"branding": {
"logo_url": "https://example.com/logo.png",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"metadata": {
"org_status": "paid"
},
"is_trial": true,
"created_at": "2021-01-01T00:00:00Z",
"trial_started": "2021-01-01T00:00:00Z"
}Return members of current organization
🔒 Requires the read:users permission
Results limit to allow pagination, e.g. 50
20Example: 10Results offset to allow pagination e.g. 10
0Example: 10Structure: [key1=value1,key2=value2&value3]
Enables searching within the list for members that match a particular query. e.g. john
List of organization members
List of organization members
Failed to list organization members
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:users permission
Too many requests
GET /api/v1/organization/members HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"total": 1,
"members": [
{
"id": "prov0|1234567890",
"name": "John Doe",
"email": "johndoe@mail.com",
"picture": "https://example.com/profile.jpg",
"roles": [
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
],
"assigned_collections": [
{
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"slug": "production-europe",
"name": "Production Europe",
"color": "#0000ff",
"allow_pre_release": false,
"is_default": true,
"enabled_policies": [
"require_owner_approval"
],
"is_active": true,
"is_deleted": true,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": null
}
]
}
]
}Invite new members current organization
🔒 Requires the create:users permission
Invite details
Invite details
Failed to invite new members
Failed to authenticate user
Missing required scopes. 🔒 Requires the create:users permission
Too many requests
POST /api/v1/organization/members HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"invitees": [
{
"email": "johndoe@mail.com",
"role": "rol_abCdeFghIjklMnmP",
"collections": [
{
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"membership_role": "member"
}
]
}
]
}{
"invites": [
{
"id": "uinv_abCdeFghIjklMnmP",
"invitee": "johndoe@mail.com",
"organization_id": "org_abCdeFghIjklMnmP",
"invitation_url": "https://app.bluebricks.co/sign-in?...",
"collections": [
{
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"membership_role": "member"
}
]
}
],
"errors": [
{
"email": "johndoe@mail.com",
"statusCode": 404,
"error": "NOT_FOUND",
"message": "Role does not exist"
}
]
}Remove member from current organization
🔒 Requires the delete:users permission
The user's unique ID e.g. prov0|1234567890
prov0|1234567890Status of remove request
Status of remove request
Failed remove member
Failed to authenticate user
Missing required scopes. 🔒 Requires the delete:users permission
Member not found in organization
Too many requests
DELETE /api/v1/organization/members/{memberId} HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": "success"
}Return public encryption keys for the organization to encrypt secrets
🔒 Requires the read:organization permission
Public key data
Public key data
PEM-formatted RSA public key (minimum 2048 bits)
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... -----END PUBLIC KEY-----Failed to get public key
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:organization permission
Public key not found
Too many requests
GET /api/v1/public-keys HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\n-----END PUBLIC KEY-----"
}Create and store managed public key for the organization to encrypt secrets
🔒 Requires the update:organization permission
PEM-formatted RSA public key (minimum 2048 bits)
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... -----END PUBLIC KEY-----Cloud provider key identifier (AWS KMS ARN, Azure Key Vault URI, or GCP KMS resource name)
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012Successfully created public key
Successfully created public key
PEM-formatted RSA public key (minimum 2048 bits)
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... -----END PUBLIC KEY-----Cloud provider key identifier (AWS KMS ARN, Azure Key Vault URI, or GCP KMS resource name)
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012The date and time the resource was created e.g. 2022-01-01T00:00:00.000Z
Failed to create public key
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:organization permission
Public key not found
Public key already exists for organization
Too many requests
POST /api/v1/public-keys HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\n-----END PUBLIC KEY-----",
"key_identifier": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"
}{
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\n-----END PUBLIC KEY-----",
"key_identifier": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
"created_at": "2026-01-01T00:00:00.000Z",
"created_by": {
"id": "prov0|1234567890",
"name": "John Doe",
"nickname": "JD",
"picture": "https://example.com/profile.jpg"
}
}Last updated

