sandbox-templates

Store the credential for a registry host, replacing any stored for it

put/sandbox-registries

Request

  • Base URL: https://api.letsship.ai/v1
  • URL: https://api.letsship.ai/v1/sandbox-registries
  • Auth: none declared

Request body

hoststring required

Host name or URL; stored as the host alone.

scheme'bearer' | 'basic' required
usernamestring

Required for basic auth.

secretstring required

Token or password. Write-only.

Response

Stored

idstring required
hoststring required
scheme'bearer' | 'basic' required
usernamestring nullable required
createdAtinteger required
updatedAtinteger required

Example response

{
  "host": "npm.pkg.github.com"
}

Changes

No recorded changes to this operation across all 1 revision of this API.