Skip to main content
Renames a credential, changes its base URL and header or its login, or replaces its value. A credential keeps its kind. Omitted fields keep their current values.

Examples

Replace <id> with the resource ID from your response before you run the command.

Flags

string
New https URL of the real system.
string
Request body as JSON (alternative to individual flags). Can also be provided via stdin.
string
New HTTP header that carries the value.
string
required
Credential ID.
string
JSON object
string
New credential name.
string
New full header value or login password. Required when base_url, header, or login.url changes. Builds that start an agent after the change use it. The API never returns it.
Global flags apply to every command. See Global flags.