/v1/workspaces/{workspace_id}/communities/{community_id}/moderation/actors/{actor_id}/shadow-banAuthRemove a shadow ban. No-op if not currently shadow-banned.
Path parameters
workspace_id*string · uuidId of the workspace.
community_id*string · uuidId of the community.
actor_id*string · uuidId of the actor.
Response · 200 Shadow ban cleared.
id*string · uuidSocial actor UUID.
Example: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
community_id*string · uuidOwning community UUID.
Example: "cccccccc-cccc-cccc-cccc-cccccccccccc"
external_id*stringCustomer-supplied stable identifier (your user id).
Example: "user_abc123"
display_name*stringDisplay name.
Example: "Ada Lovelace"
avatar_url*stringAvatar URL.
Example: "https://cdn.example.com/avatars/ada.png"
metadata*objectFree-form metadata blob.
Example: {"tier":"pro"}
status*objectLifecycle status. `suspended` is moderator-applied via PATCH `status=suspended`; `deleted` is soft-deletion. Shadow-banning is a separate moderation mechanism that does not change `status`.
Example: "active"
is_private*booleanWhen true, the actor is private (task 014): effective post visibility is capped at `followers` and following requires an approved follow request.
Example: false
created_at*string · date-timeISO timestamp the row was inserted.
Example: "2026-05-01T12:00:00.000Z"
updated_at*string · date-timeISO timestamp of the last update.
Example: "2026-05-01T12:00:00.000Z"
shadow_banned_at*string · date-timeISO timestamp the shadow ban was applied, or null.
shadow_banned_until*stringISO timestamp the shadow ban auto-expires, or null for indefinite.
shadow_banned_reason*stringModerator note attached to the ban.
Example
Request
DELETE https://social.productcraft.co/v1/workspaces/{workspace_id}/communities/{community_id}/moderation/actors/{actor_id}/shadow-ban
Authorization: Bearer YOUR_TOKENResponse
{
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
"external_id": "user_abc123",
"display_name": "Ada Lovelace",
"avatar_url": "https://cdn.example.com/avatars/ada.png",
"metadata": {
"tier": "pro"
},
"status": "active",
"is_private": false,
"created_at": "2026-05-01T12:00:00.000Z",
"updated_at": "2026-05-01T12:00:00.000Z",
"shadow_banned_at": "2026-01-01T00:00:00.000Z",
"shadow_banned_until": "string",
"shadow_banned_reason": "string"
}