Skip to main content
POST
Request a refresh of a location’s secret. The call flags the location for Byteport’s background refresher and returns immediately with 202 Accepted — the refresh has been queued, not completed. Poll Get Location Status to observe the result. Address the location by name or id; at least one is required. A non-unique name returns 409 with the candidates — resend with the id of the one you want. This applies to providers whose secrets rotate (the OAuth providers — Dropbox, Google Drive, OneDrive, Box). For static credentials it is effectively a no-op.

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

Refresh queued. The response body is empty.