Security Groups
Required scope: admin:roles
access-tokenAuthorizationBearer <token>application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/permissions/catalog'{ "data": { "actions": [ "view" ], "resources": [ { "actions": [ "view" ], "capabilityOnly": true, "hidden": true, "key": "string", "label": "string", "namespace": "string", "requires": [ "string" ] } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:keys, admin:roles
Required scope (any of): admin:keys, admin:roles
access-tokenAuthorizationBearer <token>application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/permissions/scopes'{ "data": { "groups": [ { "admin": true, "key": "string", "label": "string", "requires": [ "string" ], "scopes": [ { "action": "string", "label": "string", "scope": "string" } ] } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:roles
Pagination: none
access-tokenAuthorizationBearer <token>application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/security-groups'{ "data": [ { "base_role": "string", "created_at": "string", "description": "string", "id": "string", "is_system": true, "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ], "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ], "updated_at": "string" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:roles
Error codes: SECURITY_GROUP_INVALID_RESOURCE, SECURITY_GROUP_DUPLICATE_NAME, SECURITY_HIERARCHY_FORBIDDEN
access-tokenAuthorizationBearer <token>application/json- body
description?stringlegal_entity_ids?array<>Legal entities this group is scoped to. Empty/omitted = all entities.
name*stringDisplay name, unique per org (case-insensitive).
permissions*array<>application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/security-groups' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ]}'{ "data": { "base_role": "string", "created_at": "string", "description": "string", "id": "string", "is_system": true, "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ], "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ], "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:roles
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/security-groups/string'{ "data": { "base_role": "string", "created_at": "string", "description": "string", "id": "string", "is_system": true, "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ], "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ], "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:roles
Error codes: NOT_FOUND, SECURITY_GROUP_INVALID_RESOURCE, SECURITY_GROUP_OWNER_IMMUTABLE, SECURITY_GROUP_SYSTEM_IMMUTABLE, SECURITY_GROUP_DUPLICATE_NAME, SECURITY_HIERARCHY_FORBIDDEN, SECURITY_LOCKOUT_PREVENTED
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
description?stringlegal_entity_ids?array<>Legal entities this group is scoped to. Empty/omitted = all entities.
name?stringpermissions?array<>application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/security-groups/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "base_role": "string", "created_at": "string", "description": "string", "id": "string", "is_system": true, "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ], "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ], "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: admin:roles
Error codes: NOT_FOUND, SECURITY_GROUP_SYSTEM_UNDELETABLE, SECURITY_GROUP_OWNER_IMMUTABLE, SECURITY_HIERARCHY_FORBIDDEN, SECURITY_GROUP_DELETE_WIDENS, SECURITY_LOCKOUT_PREVENTED
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X DELETE 'https://api.acreum.io/v1/security-groups/string'{ "data": { "base_role": "string", "created_at": "string", "description": "string", "id": "string", "is_system": true, "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ], "name": "string", "permissions": [ { "action": "view", "resource": "documents" } ], "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}