Skip to content

Enable or disable the catalog

POST
/v1/workspaces/{workspaceId}/catalog/enable
curl --request POST \
--url https://shareout.site/v1/workspaces/example/catalog/enable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true }'

Admin+. JSON body with enabled true (default) or enabled false.

workspaceId
required
string

Workspace ID or slug.

Media type application/json
object
enabled
boolean
default: true

Updated

Access denied

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}