PUT api/Accounts
Edit account
Request Information
URI Parameters
None.
Body Parameters
EditAccountName | Description | Type | Additional information |
---|---|---|---|
AccountID |
Unique ID of edit account |
globally unique identifier |
Required |
DisplayName |
Display name |
string |
Required |
Type |
Account type |
AccountType |
Required |
AccountSettings |
Specific storage settings |
Settings |
Required |
Request Formats
application/json, text/json
Sample:
{ "AccountID": "59453361-13d2-4d98-bc8f-16dbcad972a3", "DisplayName": "sample string 2", "Type": 0, "AccountSettings": { "GoogleCloudPlatform": { "ServiceAccountEmail": "sample string 1", "BinaryKeyAsBase64": "sample string 2", "ProjectID": "sample string 3" }, "AmazonS3": { "AccessKey": "sample string 1", "SecretKey": "sample string 2", "IsGovCloud": true }, "Azure": { "AccountName": "sample string 1", "SharedKey": "sample string 2", "AccountType": 0, "CustomEndpoint": "sample string 3" }, "OpenStack": { "IgnoreCertificate": true, "NotCheckCredentials": true, "UserName": "sample string 3", "ApiKey": "sample string 4", "AuthService": "sample string 5", "KeyStoneVersion": 0, "TenantType": 0, "Tenant": "sample string 6", "UseInternalURLs": true, "DomainType": 0, "Domain": "sample string 8", "UseScope": true, "ProjectType": 0, "Project": "sample string 10" }, "Oracle": { "UserName": "sample string 1", "ApiKey": "sample string 2", "AuthService": "sample string 3", "KeyStoneVersion": 0, "TenantType": 0, "Tenant": "sample string 4", "UseInternalURLs": true, "DomainType": 0, "Domain": "sample string 6", "UseScope": true, "ProjectType": 0, "Project": "sample string 8" }, "S3Compatible": { "UseNativeMultipartUpload": true, "HTTPEnpoint": "sample string 2", "HTTPSEndpoint": "sample string 3", "IgnoreCertificate": true, "NotCheckCredentials": true, "SignatureVersion": 2, "AccessKey": "sample string 6", "SecretKey": "sample string 7", "IsGovCloud": true }, "Cloudian": { "UseNativeMultipartUpload": true, "HTTPEnpoint": "sample string 2", "HTTPSEndpoint": "sample string 3", "IgnoreCertificate": true, "NotCheckCredentials": true, "SignatureVersion": 2, "AccessKey": "sample string 6", "SecretKey": "sample string 7", "IsGovCloud": true }, "FS": { "Login": "sample string 1", "Pass": "sample string 2", "Path": "sample string 3" }, "Wasabi": { "AccessKey": "sample string 1", "SecretKey": "sample string 2" }, "Minio": { "AccessKey": "sample string 1", "SecretKey": "sample string 2", "HTTPEnpoint": "sample string 3", "HTTPSEndpoint": "sample string 4", "IgnoreCertificate": true, "NotCheckCredentials": true } } }
application/xml, text/xml
Sample:
<EditAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <AccountSettings> <AmazonS3> <AccessKey>sample string 1</AccessKey> <IsGovCloud>true</IsGovCloud> <SecretKey>sample string 2</SecretKey> </AmazonS3> <Azure> <AccountName>sample string 1</AccountName> <AccountType>Public</AccountType> <CustomEndpoint>sample string 3</CustomEndpoint> <SharedKey>sample string 2</SharedKey> </Azure> <Cloudian> <AccessKey>sample string 6</AccessKey> <IsGovCloud>true</IsGovCloud> <SecretKey>sample string 7</SecretKey> <HTTPEnpoint>sample string 2</HTTPEnpoint> <HTTPSEndpoint>sample string 3</HTTPSEndpoint> <IgnoreCertificate>true</IgnoreCertificate> <NotCheckCredentials>true</NotCheckCredentials> <SignatureVersion>Version2</SignatureVersion> <UseNativeMultipartUpload>true</UseNativeMultipartUpload> </Cloudian> <FS> <Login>sample string 1</Login> <Pass>sample string 2</Pass> <Path>sample string 3</Path> </FS> <GoogleCloudPlatform> <BinaryKeyAsBase64>sample string 2</BinaryKeyAsBase64> <ProjectID>sample string 3</ProjectID> <ServiceAccountEmail>sample string 1</ServiceAccountEmail> </GoogleCloudPlatform> <Minio> <AccessKey>sample string 1</AccessKey> <HTTPEnpoint>sample string 3</HTTPEnpoint> <HTTPSEndpoint>sample string 4</HTTPSEndpoint> <IgnoreCertificate>true</IgnoreCertificate> <NotCheckCredentials>true</NotCheckCredentials> <SecretKey>sample string 2</SecretKey> </Minio> <OpenStack> <ApiKey>sample string 4</ApiKey> <AuthService>sample string 5</AuthService> <Domain>sample string 8</Domain> <DomainType>Name</DomainType> <KeyStoneVersion>DoNotUse</KeyStoneVersion> <Project>sample string 10</Project> <ProjectType>Name</ProjectType> <Tenant>sample string 6</Tenant> <TenantType>Name</TenantType> <UseInternalURLs>true</UseInternalURLs> <UseScope>true</UseScope> <UserName>sample string 3</UserName> <IgnoreCertificate>true</IgnoreCertificate> <NotCheckCredentials>true</NotCheckCredentials> </OpenStack> <Oracle> <ApiKey>sample string 2</ApiKey> <AuthService>sample string 3</AuthService> <Domain>sample string 6</Domain> <DomainType>Name</DomainType> <KeyStoneVersion>DoNotUse</KeyStoneVersion> <Project>sample string 8</Project> <ProjectType>Name</ProjectType> <Tenant>sample string 4</Tenant> <TenantType>Name</TenantType> <UseInternalURLs>true</UseInternalURLs> <UseScope>true</UseScope> <UserName>sample string 1</UserName> </Oracle> <S3Compatible> <AccessKey>sample string 6</AccessKey> <IsGovCloud>true</IsGovCloud> <SecretKey>sample string 7</SecretKey> <HTTPEnpoint>sample string 2</HTTPEnpoint> <HTTPSEndpoint>sample string 3</HTTPSEndpoint> <IgnoreCertificate>true</IgnoreCertificate> <NotCheckCredentials>true</NotCheckCredentials> <SignatureVersion>Version2</SignatureVersion> <UseNativeMultipartUpload>true</UseNativeMultipartUpload> </S3Compatible> <Wasabi> <AccessKey>sample string 1</AccessKey> <SecretKey>sample string 2</SecretKey> </Wasabi> </AccountSettings> <DisplayName>sample string 2</DisplayName> <Type>AmazonS3</Type> <AccountID>59453361-13d2-4d98-bc8f-16dbcad972a3</AccountID> </EditAccount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |