\DefaultApi
Last updated
Last updated
All URIs are relative to https:///api/2.0
POST /git-credentials
Create a Git credential entry
DELETE /git-credentials/{credential_id}
Deletes the credential
GET /git-credentials/{credential_id}
Get a credential entry
GET /git-credentials
Get Git credentials
PATCH /git-credentials/{credential_id}
Updates the credential
crate::models::GetCredentialResponse create_git_credential(create_credential_request) Create a Git credential entry
Creates a Git credential entry for the user. Only one Git credential per user is supported, so any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials.
create_credential_request
Details required to create a Git credential entry
[required]
,
Content-Type: application/json
Accept: application/json
delete_git_credential(credential_id) Deletes the credential
Deletes the specified credential
credential_id
String
The ID for the corresponding credential to access.
[required]
(empty response body)
Content-Type: Not defined
Accept: application/json
crate::models::GetCredentialResponse get_git_credential(credential_id) Get a credential entry
Returns the credential with the given credential ID.
credential_id
String
The ID for the corresponding credential to access.
[required]
Content-Type: Not defined
Accept: application/json
crate::models::GetCredentialsResponse get_git_credential_list() Get Git credentials
Returns the calling user's Git credentials. One credential per user is supported.
This endpoint does not need any parameter.
Content-Type: Not defined
Accept: application/json
crate::models::GetCredentialResponse update_git_credential(credential_id, update_credential_request) Updates the credential
Updates the credential.
credential_id
String
The ID for the corresponding credential to access.
[required]
update_credential_request
Details required to update the credential
[required]
Content-Type: application/json
Accept: application/json
,
,
,
,