Admin. Hard-remove of an approved share. Terminal. Same withdrawal rule as revoke.
Authorizations
extractApiKeybearerAuthcookieAuth
Authorization
string
header
required
Extract API key (sk-abacus-*)
Path Parameters
id
integer
required
Body
application/json
Body for the decision endpoints (approve / reject / revoke / kick).
All four endpoints accept the same shape — an optional note.
The note ends up on the saved OrgLibraryShare.note column.
note
string
Maximum string length: 500
Response
Output projection for an OrgLibraryShare row.
Composed for both the list endpoint and as the response body of
every mutation endpoint, so the SPA can re-render the row from a
POST response without a follow-up GET. content_object_summary
is computed via SerializerMethodField because the underlying
target is a generic FK — a normal nested serializer doesn't fit.
id
integer
required
read-only
content_type
string
required
read-only
object_id
integer
required
read-only
content_object_summary
object | null
required
Tiny shape: just enough to render a share row in the UI.
For Struct rows: {"id", "slug", "name", "status"} (slug is
the SPA-routing key). For Batch rows: {"id", "name", "status"}. kind distinguishes them when the SPA wants a
single discriminator field; it mirrors content_type.model.
Show child attributes
state
enum<string>
required
pending - Pending
approved - Approved
rejected - Rejected
revoked - Revoked
kicked - Kicked
Available options:
pending,
approved,
rejected,
revoked,
kicked
shared_by
object | null
required
Compact user projection for shared_by / decided_by fields.
Show child attributes
decided_by
object | null
required
Compact user projection for shared_by / decided_by fields.
Show child attributes
decided_at
string<date-time> | null
required
read-only
note
string
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
⌘I
Kick an approved share from the library (mod-only)