Skip to content

Latest commit

 

History

History
90 lines (57 loc) · 3.23 KB

AccountsApi.md

File metadata and controls

90 lines (57 loc) · 3.23 KB

{{classname}}

All URIs are relative to https://app.harness.io/gateway

Method HTTP request Description
GetAccountNG Get /ng/api/accounts/{accountIdentifier} Gets an account
UpdateAccountDefaultExperienceNG Put /ng/api/accounts/{accountIdentifier}/default-experience Update Default Experience
UpdateAccountNameNG Put /ng/api/accounts/{accountIdentifier}/name Update Account Name

GetAccountNG

ResponseDtoAccount GetAccountNG(ctx, accountIdentifier) Gets an account

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accountIdentifier string Account Identifier for the Entity

Return type

ResponseDtoAccount

Authorization

ApiKey

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdateAccountDefaultExperienceNG

ResponseDtoAccount UpdateAccountDefaultExperienceNG(ctx, body, accountIdentifier) Update Default Experience

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body Account This is details of the Account. DefaultExperience is mandatory
accountIdentifier string Account Identifier for the Entity

Return type

ResponseDtoAccount

Authorization

ApiKey

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdateAccountNameNG

ResponseDtoAccount UpdateAccountNameNG(ctx, body, accountIdentifier) Update Account Name

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body Account This is details of the Account. Name is mandatory.
accountIdentifier string Account Identifier for the Entity

Return type

ResponseDtoAccount

Authorization

ApiKey

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]