Skip to main content
DELETE
Unlink Image from GitHub
After unlinking, pushes no longer rebuild the image. Existing versions and applications are not affected. You can link again at any time with Link Image to GitHub. Only the image’s owner can unlink it; in a workspace, a member gets 403. Needs the images:write scope when called with an API key.
string
required
The image ID.
string
If the image belongs to a workspace, the workspace’s ID.

Response

object
The image.

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • API_KEY_SCOPE_DENIED: The API key does not have the required scope (403).
  • ACCESS_DENIED: You are not the owner of the image, or it is a platform image (403).
  • IMAGE_NOT_FOUND: The image does not exist or you cannot access it (404).
  • INTERNAL_SERVER_ERROR: Unexpected failure (500).