API reference · Container Registry / Container Registry
Container Registry
Choose your registry namespace, manage repositories, their tags and retention, and create registry tokens for CI and clusters.
Claim a namespace, then push images to registry.pantechdynamics.com/<namespace>/<repository>:<tag> with docker or any OCI client. This API manages the namespace, repositories, tags and registry tokens; images themselves are pushed and pulled through the registry. Reads are served from Pantech's records, so listing thousands of tags is quick. See Pantech Container Registry and CI and Kubernetes.
The registry namespace object
An organization's namespace on the private container registry.
Fields
namestringrequiredThe namespace: the first part of every image name.
registry_hoststringrequiredThe registry's host name.
create_on_pushbooleanrequiredWhether a push to a repository that does not exist creates it.
repository_countintegerrequiredRepositories in the namespace.
storage_bytesintegerrequiredStorage your images use, in bytes, measured hourly: each layer counted once however many images share it.
storage_limit_bytesintegerrequiredThe storage limit; pushes are refused at it.
repository_limitintegerrequiredHow many repositories the organization may have.
created_atstringrequiredWhen it was claimed (RFC 3339, UTC).
updated_atstringrequiredWhen it last changed (RFC 3339, UTC).
versionintegerrequiredIncreases with every change.
The registry repository object
A repository in the private container registry.
Fields
idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
The registry tag object
A tag and the image it points at.
Fields
namestringrequireddigeststringrequiredmedia_typestringrequiredThe manifest's media type: an image index (several platforms) or a single image.
size_bytesintegerrequiredThe image's size: the manifest and the layers it references.
platformsarray of stringrequiredFor an index, the platforms it holds, such as
linux/amd64.pushed_atstringrequiredWhen the tag was pushed to this image.
last_pulled_atstring or nullrequiredWhen it was last pulled; null if never.
immutablebooleanrequiredWhether the tag can never be moved or deleted (the repository has immutable tags).
The registry token object
A credential for the registry only. Its secret is never shown again after creation.
Fields
idstringrequirede.g.
prt_....namestringrequiredpermissionstringrequiredpull, orpush(which includes pull).One of
pull,push.repositoriesarray of stringrequiredThe repositories it may use; empty for every repository in the namespace.
expires_atstring or nullrequiredWhen it stops working; null if never.
last_used_atstring or nullrequiredWhen it last signed in, to the minute; null if never.
created_atstringrequiredrevoked_atstring or nullrequiredWhen it was revoked; null if it was not.
Get the registry namespace
Your organization's namespace on the private container registry, its limits and its storage. Images are registry.pantechdynamics.com/<namespace>/<repository>:<tag>; sign in with docker login registry.pantechdynamics.com -u pantech -p <API key or registry token>.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Response 200
The namespace.namestringrequiredThe namespace: the first part of every image name.
registry_hoststringrequiredThe registry's host name.
create_on_pushbooleanrequiredWhether a push to a repository that does not exist creates it.
repository_countintegerrequiredRepositories in the namespace.
storage_bytesintegerrequiredStorage your images use, in bytes, measured hourly: each layer counted once however many images share it.
storage_limit_bytesintegerrequiredThe storage limit; pushes are refused at it.
repository_limitintegerrequiredHow many repositories the organization may have.
created_atstringrequiredWhen it was claimed (RFC 3339, UTC).
updated_atstringrequiredWhen it last changed (RFC 3339, UTC).
versionintegerrequiredIncreases with every change.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one withPUT /registry. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"name": "acme",
"registry_host": "registry.pantechdynamics.com",
"create_on_push": true,
"repository_count": 1,
"storage_bytes": 1,
"storage_limit_bytes": 1,
"repository_limit": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Claim or change the registry namespace
Claims your organization's namespace, or changes it. A namespace is 3 to 30 lower-case letters, digits and single hyphens, starts with a letter, and is unique across Pantech; some names, such as library and pantech, are reserved. The name cannot change once a repository was ever created in it, even after every repository is deleted, and a name that held content is never given to another organization. create_on_push (on by default) lets a push to a repository that does not exist yet create it. Owners and admins only.
Idempotency: the same body again changes nothing.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequired3 to 30 lower-case letters, digits and single hyphens, starting with a letter.
From 3 to 30 characters.
create_on_pushbooleanWhether a push may create a repository. Left out: unchanged (on for a new namespace).
Response 200
The namespace.namestringrequiredThe namespace: the first part of every image name.
registry_hoststringrequiredThe registry's host name.
create_on_pushbooleanrequiredWhether a push to a repository that does not exist creates it.
repository_countintegerrequiredRepositories in the namespace.
storage_bytesintegerrequiredStorage your images use, in bytes, measured hourly: each layer counted once however many images share it.
storage_limit_bytesintegerrequiredThe storage limit; pushes are refused at it.
repository_limitintegerrequiredHow many repositories the organization may have.
created_atstringrequiredWhen it was claimed (RFC 3339, UTC).
updated_atstringrequiredWhen it last changed (RFC 3339, UTC).
versionintegerrequiredIncreases with every change.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value.INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 409
REGISTRY_NAMESPACE_TAKEN: another organization has this namespace. Choose another.REGISTRY_NAMESPACE_LOCKED: the namespace cannot change once a repository was ever created in it. - 422
INVALID_REGISTRY_NAMESPACE:nameis not a valid namespace, or is reserved.VALIDATION_FAILED: a field is missing or invalid;errorsnames it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PUT "https://api.pantechdynamics.com/public/v1/registry" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "acme"
}'{
"name": "acme",
"registry_host": "registry.pantechdynamics.com",
"create_on_push": true,
"repository_count": 1,
"storage_bytes": 1,
"storage_limit_bytes": 1,
"repository_limit": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}List repositories
Your organization's repositories, by name. Served from Pantech's own records: listing never waits on the registry.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
qstringOnly repositories whose name contains this text, at most 255 characters.
At most 255 characters.
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
Repositories.dataarray of RegistryRepositoryrequiredShow 16 child fieldsHide child fields
idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_FILTER: a query parameter is not valid.detailnames it and what it takes.INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one withPUT /registry. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry/repositories" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"namespace": "acme",
"name": "api/server",
"full_name": "registry.pantechdynamics.com/acme/api/server",
"description": "description",
"visibility": "private",
"immutable_tags": true,
"retention": {
"keep_last": 1,
"untagged_after_days": 1,
"keep_pattern": "keep-pattern"
},
"tag_count": 1,
"storage_bytes": 1,
"last_pushed_at": "2026-10-03T09:30:00Z",
"status": "active",
"suspended_reason": null,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Create a repository
Creates a repository in your namespace. name follows the OCI name grammar: lower-case path components of letters and digits, separated by ., _, __ or -, joined by /, at most 255 characters with the namespace. Repositories are private unless visibility is public (anyone may pull, without signing in). With immutable_tags, a tag once pushed cannot be moved or deleted: a push that moves one is put back. retention keeps the newest keep_last tags and deletes untagged images older than untagged_after_days; tags matching keep_pattern are never removed. A push can also create a repository (see create_on_push). At most 100 repositories per organization. Owners and admins only.
Idempotency: a retry with the same Idempotency-Key returns the repository the first request made. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequiredLower-case path components separated by
/, such asapi/server.At most 255 characters.
descriptionstringAt most 255 characters.
visibilitystringDefault
private.One of
private,public.immutable_tagsbooleanDefault false.
retentionRegistryRetentionInputA retention policy. A rule left out or null is off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullKeep the newest N tags.
From 1 to 1000.
untagged_after_daysinteger or nullDelete untagged images older than this many days.
From 1 to 365.
keep_patternstring or nullTags matching this glob are never removed.
At most 128 characters.
Response 201
The new repository, or the original one on a replay.idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value.INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.REPOSITORY_LIMIT_REACHED: your organization already has 100 repositories. Delete one first, or contact support to raise the limit. - 404
REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one withPUT /registry. - 409
REPOSITORY_EXISTS: your organization already has a repository with this name.IDEMPOTENCY_CONFLICT: theIdempotency-Keywas already used with a different request. Use a new key. - 422
INVALID_REPOSITORY_NAME:nameis not a valid repository name.VALIDATION_FAILED: a field is missing or invalid;errorsnames it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/registry/repositories" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "api/server"
}'{
"id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"namespace": "acme",
"name": "api/server",
"full_name": "registry.pantechdynamics.com/acme/api/server",
"description": "description",
"visibility": "private",
"immutable_tags": true,
"retention": {
"keep_last": 1,
"untagged_after_days": 1,
"keep_pattern": "keep-pattern"
},
"tag_count": 1,
"storage_bytes": 1,
"last_pushed_at": "2026-10-03T09:30:00Z",
"status": "active",
"suspended_reason": null,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Get a repository
One repository, its settings, tag count and storage.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).
Response 200
The repository.idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"namespace": "acme",
"name": "api/server",
"full_name": "registry.pantechdynamics.com/acme/api/server",
"description": "description",
"visibility": "private",
"immutable_tags": true,
"retention": {
"keep_last": 1,
"untagged_after_days": 1,
"keep_pattern": "keep-pattern"
},
"tag_count": 1,
"storage_bytes": 1,
"last_pushed_at": "2026-10-03T09:30:00Z",
"status": "active",
"suspended_reason": null,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Change a repository
Changes a repository's description, visibility, tag immutability or retention policy. Fields left out keep their value. retention, when present, replaces the whole policy: a rule left out of it, or null, is removed, and "retention": null removes every rule. Owners and admins only.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).
Body
application/jsondescriptionstringAt most 255 characters.
visibilitystringOne of
private,public.immutable_tagsbooleanretentionRegistryRetentionInputA retention policy. A rule left out or null is off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullKeep the newest N tags.
From 1 to 1000.
untagged_after_daysinteger or nullDelete untagged images older than this many days.
From 1 to 365.
keep_patternstring or nullTags matching this glob are never removed.
At most 128 characters.
Response 200
The repository.idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value.INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. - 409
REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support.CONFLICT: the repository is being deleted, or was changed at the same time by another request. - 422
VALIDATION_FAILED: a field is invalid;errorsnames it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PATCH "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'{
"id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"namespace": "acme",
"name": "api/server",
"full_name": "registry.pantechdynamics.com/acme/api/server",
"description": "description",
"visibility": "private",
"immutable_tags": true,
"retention": {
"keep_last": 1,
"untagged_after_days": 1,
"keep_pattern": "keep-pattern"
},
"tag_count": 1,
"storage_bytes": 1,
"last_pushed_at": "2026-10-03T09:30:00Z",
"status": "active",
"suspended_reason": null,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Delete a repository
Deletes the repository and every image in it. It answers deleting and disappears once every image is deleted from the registry, usually within a minute; the space is reclaimed by the next nightly clean-up. Owners and admins only.
Idempotency: deleting a repository that is already being deleted returns it again.
Scope: write. Destructive: an AI app's key also needs delete.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).
Response 202
The repository,deleting.idstringrequirede.g.
crr_....namespacestringrequirednamestringrequiredThe repository's name inside the namespace.
full_namestringrequiredThe image name to push and pull, without a tag.
descriptionstringrequiredYour note about it; may be empty.
visibilitystringrequiredprivate(members and credentials only) orpublic(anyone may pull).One of
private,public.immutable_tagsbooleanrequiredWhether tags, once pushed, can never be moved or deleted.
retentionRegistryRetentionrequiredA retention policy. Each rule is null when off.
Show 3 child fieldsHide child fields
keep_lastinteger or nullrequiredKeep the newest N tags (by push time) that
keep_patterndoes not protect; older ones are untagged daily.From 1 to 1000.
untagged_after_daysinteger or nullrequiredDelete images no tag points at once they are older than this many days.
From 1 to 365.
keep_patternstring or nullrequiredA glob, such as
v*orrelease-*: matching tags are never removed by retention.At most 128 characters.
tag_countintegerrequiredstorage_bytesintegerrequiredStorage the repository's images use, measured hourly.
last_pushed_atstring or nullrequiredWhen an image was last pushed; null before the first push.
statusstringrequiredactive,deleting, orsuspended(by an operator).One of
active,deleting,suspended.suspended_reasonstring or nullrequiredWhy an operator suspended it; null unless
suspended.created_atstringrequiredupdated_atstringrequiredversionintegerrequiredIncreases with every change.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope, or it is an AI app's key withoutdelete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. - 409
REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"namespace": "acme",
"name": "api/server",
"full_name": "registry.pantechdynamics.com/acme/api/server",
"description": "description",
"visibility": "private",
"immutable_tags": true,
"retention": {
"keep_last": 1,
"untagged_after_days": 1,
"keep_pattern": "keep-pattern"
},
"tag_count": 1,
"storage_bytes": 1,
"last_pushed_at": "2026-10-03T09:30:00Z",
"status": "active",
"suspended_reason": null,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}List a repository's tags
The repository's tags, newest push first, each with the image it points at: digest, media type, size and platforms.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).
Query parameters
qstringOnly tags whose name contains this text, at most 255 characters.
At most 255 characters.
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
Tags.dataarray of RegistryTagrequiredShow 8 child fieldsHide child fields
namestringrequireddigeststringrequiredmedia_typestringrequiredThe manifest's media type: an image index (several platforms) or a single image.
size_bytesintegerrequiredThe image's size: the manifest and the layers it references.
platformsarray of stringrequiredFor an index, the platforms it holds, such as
linux/amd64.pushed_atstringrequiredWhen the tag was pushed to this image.
last_pulled_atstring or nullrequiredWhen it was last pulled; null if never.
immutablebooleanrequiredWhether the tag can never be moved or deleted (the repository has immutable tags).
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_FILTER: a query parameter is not valid.detailnames it and what it takes.INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"name": "v1.4.2",
"digest": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"media_type": "application/vnd.oci.image.index.v1+json",
"size_bytes": 1610612736,
"platforms": [
"linux/amd64",
"linux/arm64"
],
"pushed_at": "2026-10-03T09:30:00Z",
"last_pulled_at": "2026-10-03T09:30:00Z",
"immutable": true
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Get a tag
One tag and the image it points at.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).tagstringrequiredThe tag, such as
v1.4.2orlatest.At most 128 characters.
Response 200
The tag.namestringrequireddigeststringrequiredmedia_typestringrequiredThe manifest's media type: an image index (several platforms) or a single image.
size_bytesintegerrequiredThe image's size: the manifest and the layers it references.
platformsarray of stringrequiredFor an index, the platforms it holds, such as
linux/amd64.pushed_atstringrequiredWhen the tag was pushed to this image.
last_pulled_atstring or nullrequiredWhen it was last pulled; null if never.
immutablebooleanrequiredWhether the tag can never be moved or deleted (the repository has immutable tags).
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.TAG_NOT_FOUND: no tag with this name in the repository. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags/v1.4.2" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"name": "v1.4.2",
"digest": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"media_type": "application/vnd.oci.image.index.v1+json",
"size_bytes": 1610612736,
"platforms": [
"linux/amd64",
"linux/arm64"
],
"pushed_at": "2026-10-03T09:30:00Z",
"last_pulled_at": "2026-10-03T09:30:00Z",
"immutable": true
}Delete a tag
Removes the tag from the registry. The image stays while another tag points at it; untagged images are removed by the nightly clean-up. Refused for a repository with immutable tags. Owners and admins only.
Scope: write. Destructive: an AI app's key also needs delete.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
repository_idstringrequiredThe repository's id (
crr_…).tagstringrequiredThe tag, such as
v1.4.2orlatest.At most 128 characters.
Response 202
The tag was deleted. No body. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope, or it is an AI app's key withoutdelete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.TAG_NOT_FOUND: no tag with this name in the repository. - 409
TAG_IMMUTABLE: the repository has immutable tags, so its tags cannot be deleted.REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available, or could not be reached; nothing was changed. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags/v1.4.2" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"List registry tokens
Your organization's registry tokens, newest first, revoked ones included. Secrets are never shown again after creation.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
Registry tokens.dataarray of RegistryTokenrequiredShow 8 child fieldsHide child fields
idstringrequirede.g.
prt_....namestringrequiredpermissionstringrequiredpull, orpush(which includes pull).One of
pull,push.repositoriesarray of stringrequiredThe repositories it may use; empty for every repository in the namespace.
expires_atstring or nullrequiredWhen it stops working; null if never.
last_used_atstring or nullrequiredWhen it last signed in, to the minute; null if never.
created_atstringrequiredrevoked_atstring or nullrequiredWhen it was revoked; null if it was not.
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.FORBIDDEN: the member who created the key is no longer an active member. Use another key.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/registry/tokens" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"id": "prt_06gk3x9tq7m2v8r4y1c5d0zp8w",
"name": "github-actions",
"permission": "pull",
"repositories": [
"repositories"
],
"expires_at": "2026-10-03T09:30:00Z",
"last_used_at": "2026-10-03T09:30:00Z",
"created_at": "2026-10-03T09:30:00Z",
"revoked_at": "2026-10-03T09:30:00Z"
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Create a registry token
Creates a credential for CI systems and clusters that works only for the registry, never for the Pantech API. permission is pull or push (push includes pull); repositories limits it to some repositories of your namespace (empty for all of them); expires_at is optional. The answer alone carries secret, prt_…: use it as the password of docker login registry.pantechdynamics.com -u pantech. It is shown once. Owners and admins are emailed about every new token. At most 50 active tokens per organization. Owners and admins only.
A token never carries more than the member creating it may do: a pull token needs registry:Pull, a push token registry:Pull and registry:Push, on every repository it lists, or, with repositories empty, on every repository at once (no deny of the action may apply to any repository). These are decided as the token will be used, without MFA and from any address. Every use is decided again, and a token stops for good when the member who created it leaves the organization.
Idempotency: a retry with the same Idempotency-Key returns the token the first request made with secret null, since the secret is never stored. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequiredAt most 64 characters.
permissionstringrequiredOne of
pull,push.repositoriesarray of stringRepository names in your namespace, such as
api/server; left out or empty for all of them.At most 100 items.
expires_atstringWhen it stops working (RFC 3339), at most 10 years away; left out for never.
Response 201
The new token and its secret (secret is null on a replay).idstringrequirede.g.
prt_....namestringrequiredpermissionstringrequiredpull, orpush(which includes pull).One of
pull,push.repositoriesarray of stringrequiredThe repositories it may use; empty for every repository in the namespace.
expires_atstring or nullrequiredWhen it stops working; null if never.
last_used_atstring or nullrequiredWhen it last signed in, to the minute; null if never.
created_atstringrequiredrevoked_atstring or nullrequiredWhen it was revoked; null if it was not.
secretstring or nullrequiredThe token's secret,
prt_…, shown in this answer only: the password fordocker login. Null on an idempotent replay, since it is never stored.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value.INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.REGISTRY_TOKEN_LIMIT_REACHED: your organization already has 50 active registry tokens. Revoke one first.ACCESS_DENIED: an access policy refuses the key's memberregistry:ManageTokens, or theregistry:Pullorregistry:Pushthe token would carry on one of its repositories;detailnames the action. - 404
REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one withPUT /registry. - 409
IDEMPOTENCY_CONFLICT: theIdempotency-Keywas already used with a different request. Use a new key. - 422
VALIDATION_FAILED: a field is missing or invalid;errorsnames it. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/registry/tokens" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "github-actions",
"permission": "pull"
}'{
"id": "prt_06gk3x9tq7m2v8r4y1c5d0zp8w",
"name": "github-actions",
"permission": "pull",
"repositories": [
"repositories"
],
"expires_at": "2026-10-03T09:30:00Z",
"last_used_at": "2026-10-03T09:30:00Z",
"created_at": "2026-10-03T09:30:00Z",
"revoked_at": "2026-10-03T09:30:00Z",
"secret": "secret"
}Revoke a registry token
Revokes the token: it can no longer sign in, and registry sessions it opened end within 5 minutes. Owners and admins only.
Idempotency: revoking a revoked token succeeds again.
Scope: write. Destructive: an AI app's key also needs delete.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
token_idstringrequiredThe registry token's id (
prt_…).
Response 204
Revoked. No body. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope, or it is an AI app's key withoutdelete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access.FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. - 404
REGISTRY_TOKEN_NOT_FOUND: no registry token with this id in your organization. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/tokens/prt_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"