Skip to Content
Relations

Rebuild IB Chains

Schedules an asynchronous rebuild of the IB chains for the given relations and/or for every active relation in a user's sub-tree. Each relation is rebuilt by a background job, which also recomputes the affected reports; the chains are not up to date yet when the call returns. The call is idempotent: repeating it rebuilds the same chains to the same result.

POST
/relations/chains/rebuild

Authorization

appToken write
AuthorizationBearer <token>

App access token issued by POST /tokens (client credentials). Full-access Apps hold the read and write scopes, read-only Apps hold read only. Send it as Authorization: Bearer <token>.

In: header

Scope: write

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

At least one of relationIds or fromUser is required

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/relations/chains/rebuild" \  -H "Content-Type: application/json" \  -d '{}'
{  "enqueued": 0}