Docs
Pull Resource Type From Org
POST /resourceTypes/{resourceTypeId}/pull-from-org
POST
/resourceTypes/{resourceTypeId}/pull-from-orgRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
| Organization token | x-Organization-Token | Optional | Set the `orgToken` variable to a token from the Organization API's **Authorize Organization**. It must be for the event's owning organization. |
Refreshes a correlated event type from its org twin in one transaction. Each resolution moves an event variant's resources and needs onto the copy of an org variant.
Requires
ResourceTypeDatabase.Read on the event's owning organization.Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | A correlated event resource type. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| variantResolutions | array | Optional | `{ eventVariantId, targetOrgVariantId }`. Null or empty refreshes without resolving; underspecified variants stay that way. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Not correlated, an incomplete dependency graph, or an invalid resolution. |
| 403 | Org token for another organization, or missing ResourceTypeDatabase.Read. |