Upload credentials file

POST {{baseUrl}}/credentials/files

Uploads a file for use with a managed credential (for example, as a private key file for an SSH credential). For more information about using this file, see Create a Managed Credential.

Requires BASIC [16] user permissions. See Permissions.

Request Body

[{"name"=>"Filedata", "value"=>"et ex Ut aliquip", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"fileuploaded":"ssh_private_key_1.txt"}