Unlink a resource from a trail
Remove a resource from the trail. The entity itself is untouched; only the trail's link to it goes, and the release gates stop counting it.
Remove a resource from the trail. The entity itself is untouched; only the trail's link to it goes, and the release gates stop counting it.
Authorization
bearerSdkKey Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".
In: header
Path Parameters
The trail's handle (T-12) or its id.
^(?:T-[0-9]+|[0-9a-fA-F-]{32,36})$1 <= length <= 64The trail's link to the resource (TrailResource.id), not the entity's own id.
1 <= length <= 128Header Parameters
Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://shipeasy.ai/api/admin/trails/string/resources/string"{
"ok": true
}{
"error": "Missing or invalid admin SDK key.",
"code": "UNAUTHORIZED"
}{
"error": "Key is valid but not allowed to act on this project.",
"code": "FORBIDDEN"
}{
"error": "The resource does not exist or is not visible to the caller.",
"code": "NOT_FOUND"
}Link a resource to a trail
Omit role and it is guessed from the kind. The release gates and the release phase read these links. Linking the same entity again changes its role.
Put an existing item on a trail
Attach an existing queue item to the trail, recorded with source attached, optionally into a milestone (milestoneId). An item is on at most one trail; one…