Skip to main content
POST
Retrieve a single location’s non-secret detail — its provider, label, and metadata. As everywhere, the secret material is never returned. Address the location by name (its label) or id (its UUID); at least one is required. Because labels aren’t unique, a bare name that matches more than one location returns 409 with the candidates — resend with the id of the one you want (both name and id together is also accepted, and selects that match). This endpoint is a POST because the target rides in the request body.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Address the location by name or id.

name
string

The location name (its label). Resolved to a single location; if the name matches several, also send id to pick one.

Example:

"prod-backups"

id
string

The location's UUID. Addresses one location directly, or — alongside name — selects which match of a non-unique name to act on.

Example:

"3f9a2b7c-1d4e-4a8f-9c2b-6e5d0a1f7b83"

Response

The requested location.

The non-secret projection of a location (a stored credential). Returned by Create, Get, Replace, and Update Label. Never includes the secret material — only the fields safe to display.

id
string

Unique identifier for the location (a UUID). Address a location by this id, or by its name (label).

Example:

"3f9a2b7c-1d4e-4a8f-9c2b-6e5d0a1f7b83"

provider
enum<string>

The storage backend this location authenticates against, set at creation and immutable thereafter.

Available options:
s3,
r2,
wasabi,
b2,
gcs,
azureblob,
dropbox,
drive,
onedrive,
box
Example:

"s3"

label
string

The human-readable name for the location. Labels are not unique: an account may reuse one across providers, and the same name can match several locations — pass an id to disambiguate. Set at creation and changed via Update Label.

Example:

"prod-backups"

metadata
object

Non-secret, provider-specific configuration stored alongside the secret (e.g. region, scopes, account_email). Byteport may stamp additional display hints here. Omitted entirely when empty.

Example: