Skip to main content
POST
/
pending-image-shares
/
{pendingShareId}
/
accept
Accept a pending image share
curl --request POST \
  --url https://api.blaxel.ai/v0/pending-image-shares/{pendingShareId}/accept \
  --header 'Authorization: Bearer <token>'
{
  "metadata": {
    "createdAt": "<string>",
    "displayName": "<string>",
    "events": [
      {
        "canaryRevision": "<string>",
        "message": "Deployment successful",
        "revision": "rev-abc123",
        "status": "DEPLOYED",
        "time": "2025-01-15T10:30:00Z",
        "type": "deployment"
      }
    ],
    "lastDeployedAt": "<string>",
    "name": "<string>",
    "resourceType": "<string>",
    "sourceWorkspace": "<string>",
    "status": "DELETING",
    "updatedAt": "<string>",
    "workspace": "<string>"
  },
  "spec": {
    "size": 123,
    "tags": [
      {
        "createdAt": "<string>",
        "name": "<string>",
        "size": 123,
        "updatedAt": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

OAuth2 authentication with JWT tokens

Path Parameters

pendingShareId
string
required

ID of the pending image share

Query Parameters

force
boolean

When true, overwrite conflicting tags in the target workspace instead of returning 409.

Response

successful operation

metadata
object
required
spec
object
required
Last modified on April 23, 2026