--- title: "Update an account by account ID" slug: "update-an-account-by-account-id" updated: 2026-02-26T11:12:15Z published: 2026-02-26T11:12:41Z canonical: "docs.zilliant.com/update-an-account-by-account-id" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # Update an account by account ID Patch/accounts/{id} SecurityHTTPType bearer OAuth access token. For details, read [Obtain or refresh an OAuth token](https://docs.zilliant.com/apidocs/obtain-or-refresh-an-oauth-access-token-1). Path parametersidstring (base64-encoded URI) RequiredExampleaHR0cDovL2VjY2lkZXMvODAwL0FjY291bnQjQ1U3MDI=- Body parameters Account object to update. ```json { "type": "Account", "objectName": "Test Account", "hasIndustry": [ "http://www.inmindcloud.com/application/application-implementation.owl#IHotel" ], "hasCurrency": [ "http://www.inmindcloud.com/application/application-implementation.owl#EUR" ] } ``` object typestring ExampleAccount objectNamestring ExampleTest Account hasIndustrystring (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#IHotel hasCurrencystring (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#EUR Responses200 Returns the details of the updated account. ```json { "id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50IzQ3MjU5ZmYzNDUzYTQyYTc5Mjk2ZWIzYTlmMjQwODJj", "type": "Account", "uri": "http://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c", "objectName": "Test Account", "objectId": "47259ff3453a42a79296eb3a9f24082c", "objectDateOfCreation": 1602144003672, "objectDateOfUpdate": 1602144011499, "accountProspect": true, "hasIndustry": [ { "id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNJSG90ZWw", "uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#IHotel" } ], "includesAddress": [ { "id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BZGRyZXNzIzM3YjViZWI0YTMzMDQ1ZjY5NjRkMTFhNzA0MDRkYmJj", "type": "Address", "uri": "http://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc", "objectId": "37b5beb4a33045f6964d11a70404dbbc", "addressCity": "Singapore", "addressStreet": "46B Club Street", "addressZip": "069423", "addressMain": true, "addressUnitNo": "10-41", "hasCountry": [ { "id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTRw==", "type": "Country", "uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#SG", "label": "Singapore", "objectName": "Singapore", "objectId": "SG", "objectExternalId": "SG", "hasBaseCurrency": [ { "id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTR0Q=", "uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#SGD" } ], "hasRegion": [ "http://www.inmindcloud.dev.com/application/application-implementation.owl#APJ" ] } ], "addressIncludedBy": [ "http://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c" ], "containsCreator": [ "http://www.inmindcloud.com/security/security-implementation.owl#admin-Person" ] } ], "usesMainAddress": [ "http://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc" ], "hasCurrency": [ "http://www.inmindcloud.dev.com/application/application-implementation.owl#EUR" ], "hasAccountType": [ "http://www.inmindcloud.com/application/schema.owl#AccountTypeDirect" ], "hasAccountStatus": [ "http://www.inmindcloud.com/application/schema.owl#ACTIVE" ], "containsVirtualTeam": [ "http://www.inmindcloud.dev.com/application/application-implementation.owl#admin" ], "containsCreator": [ { "id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5jb20vc2VjdXJpdHkvc2VjdXJpdHktaW1wbGVtZW50YXRpb24ub3dsI2FkbWluLVBlcnNvbg==", "type": "Employee", "uri": "http://www.inmindcloud.com/security/security-implementation.owl#admin-Person", "label": "admin-Person", "objectName": "admin-Person", "personEmail": "admin@fakemail.com", "personFirstName": "In Mind", "personLastName": "Admin" } ], "containsOwner": [ { "id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5jb20vc2VjdXJpdHkvc2VjdXJpdHktaW1wbGVtZW50YXRpb24ub3dsI2FkbWluLVBlcnNvbg==", "type": "Employee", "uri": "http://www.inmindcloud.com/security/security-implementation.owl#admin-Person", "label": "admin-Person", "objectName": "admin-Person", "personEmail": "admin@fakemail.com", "personFirstName": "In Mind", "personLastName": "Admin" } ], "definesPartnerFunctionRecord": [ "http://localhost:8080/iss/PartnerFunctionRecord#f8980eb2388f4904a38ae61465c79d43" ] } ``` Expand Allobject idstring (base64-encoded URI) ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50I2UxNGYxMjQ0ZTJlNzRiM2E5YzM4OTY3MDZiYjFlNWRi uristring Examplehttp://localhost:8080/iss/Account#e14f1244e2e74b3a9c3896706bb1e5db typestring ExampleAccount objectNamestring ExampleAccount1 objectIdstring Examplee14f1244e2e74b3a9c3896706bb1e5db hasIndustry Array of string string (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#IAeroDefense accountProspectboolean Exampletrue containsCreator Array of string string (uri) Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person hasAccountStatus Array of string string (uri) Examplehttp://www.inmindcloud.com/application/schema.owl#ACTIVE hasAccountType Array of string string (uri) Examplehttp://www.inmindcloud.com/application/schema.owl#AccountTypeDirect containsOwner Array of string string (uri) Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person containsVirtualTeam Array of string string (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#admin includesAddress Array of object (Account_INCLUDE_ADDRESS_PARAMS_ALL) object idstring (base64-encoded URI) ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BZGRyZXNzIzM3YjViZWI0YTMzMDQ1ZjY5NjRkMTFhNzA0MDRkYmJj typestring ExampleAddress uristring Examplehttp://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc addressZipstring Example069423 addressStreetstring Example46B Club Street addressUnitNostring Example10-41 addressCitystring ExampleSingapore hasCountry Array of object (Address_HAS_COUNTRY_PARAMS_AccountAPI) object idstring (base64-encoded URI) ExampleaHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTRw typestring ExampleCountry uristring Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SG labelstring ExampleSingapore objectNamestring ExampleSingapore objectIdstring ExampleSG objectExternalIdstring ExampleSG hasBaseCurrency Array of object object idstring (base64-encoded URI) ExampleaHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTR0Q uristring Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SGD hasRegion Array of string string (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#APJ addressIncludedBy Array of string string (uri) Examplehttp://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c addressMainboolean Exampletrue containsCreator Array of string string (uri) Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person usesMainAddress Array of string string (uri) Examplehttp://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc hasCurrency Array of string string (uri) Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#EUR definesPartnerFunctionRecord Array of string string (uri) Examplehttp://localhost:8080/iss/PartnerFunctionRecord#f8980eb2388f4904a38ae61465c79d43 objectDateOfCreationinteger (timestamp) Example1594608096026 objectDateOfUpdateinteger (timestamp) Example1594613347878