Docs

Pull Resource Type From Org

POST /resourceTypes/{resourceTypeId}/pull-from-org

POST/resourceTypes/{resourceTypeId}/pull-from-org

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.
Organization tokenx-Organization-TokenOptionalSet 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

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredA correlated event resource type.

Request Body

FieldTypeRequiredDescription
variantResolutionsarrayOptional`{ eventVariantId, targetOrgVariantId }`. Null or empty refreshes without resolving; underspecified variants stay that way.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400Not correlated, an incomplete dependency graph, or an invalid resolution.
403Org token for another organization, or missing ResourceTypeDatabase.Read.