Skip to main content
POST
Share a container image

Authorizations

Authorization
string
header
required

OAuth2 authentication with JWT tokens

Scopes

images:share

Path Parameters

resourceType
string
required

Resource type (agents, functions, sandboxes, jobs)

imageName
string
required

Name of the container image repository

Body

application/json
targetWorkspace
string
required

Name of the workspace to share the image with

targetAccountId
string

Account ID of the target workspace. Required when the target workspace belongs to a different account than the source workspace (anti-spam).

Response

successful operation (same-account share, applied immediately)

metadata
object
required
spec
object
required