Skip to content

List ACL entries on a post

GET
/posts/{id}/acls

Returns every ACL row attached to this post. ACL rows are additive grants on top of the post’s visibility and the role / team-scope checks. Requires read access to the post.

id
required
string format: uuid

ACL entries

Array<object>
object
principal_type
required
string
Allowed values: user role team
principal_id
required

BIGINT user.ref for principal_type=user; UUID for role/team. Stored as text so the polymorphic column fits all three.

string
<= 64 characters
permission
required
string
Allowed values: read write admin
granted_at
required
string format: date-time
granted_by_user_ref
integer format: int64
nullable
expires_at

Time-boxed grant. NULL = permanent. The handler-side check ignores rows whose expires_at < NOW().

string format: date-time
nullable

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed