Version 4.0.24.14
Configure Repository Credential for a remote dependency
Admin required.
root_project_id
is required.
credential_id
is required.
Request
PUT
/projects/{root_project_id}/credential/{credential_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
root_project_id
Root Project Id
credential_id
Credential Id
body
Expand HTTP Body definition...
body
Remote Project Information
Expand RepositoryCredential definition...
can
lock
Operations the current user is able to perform on this object
id
lock
Unique Id
root_project_id
lock
Root project Id
remote_url
lock
Git remote repository url
git_username
Git username for HTTPS authentication.
git_password
(Write-Only) Git password for HTTPS authentication.
ssh_public_key
Public deploy key for SSH authentication.
is_configured
lock
Whether the credentials have been configured for the Git Repository.
Response
200: Repository Credential
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
id
lock
Unique Id
root_project_id
lock
Root project Id
remote_url
lock
Git remote repository url
git_username
Git username for HTTPS authentication.
git_password
(Write-Only) Git password for HTTPS authentication.
ssh_public_key
Public deploy key for SSH authentication.
is_configured
lock
Whether the credentials have been configured for the Git Repository.
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
409: Resource Already Exists
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link