Update account
Update account. See the OpenAPI-defined parameters, request body, and responses below.
PUT
/Account/{id}Update account. See the OpenAPI-defined parameters, request body, and responses below.
OpenAPI description: Este endpoint atualiza os dados de uma conta existente identificada pelo id.
Authentication
Authentication required. Send your user API key in the X-API-Key header.
Parameters
| Name | Location | Type | Required | Description | Constraints |
|---|---|---|---|---|---|
id | path | integer · int32 | Yes | — | — |
Request body
Content type: application/json · Schema: AccountDto
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
name | string | No | — | nullable |
legalName | string | No | — | nullable |
site | string | No | — | nullable |
linkedInUrl | string | No | — | nullable |
email | string | No | — | nullable |
taxId | string | No | — | nullable |
enabled | boolean | No | — | — |
customerTenantId | integer · int32 | No | — | — |
Example request
curl --request PUT \
--url 'https://api.zild.ai/Account/{id}' \
--header 'X-API-Key: YOUR_USER_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"name": "string",
"legalName": "string",
"site": "string",
"linkedInUrl": "string",
"email": "string",
"taxId": "string",
"enabled": true,
"customerTenantId": 0
}'
Responses
| Status | Description | Response body |
|---|---|---|
200 | Conta atualizada com sucesso | No response body is defined. |
Data models
AccountDto
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
name | string | No | — | nullable |
legalName | string | No | — | nullable |
site | string | No | — | nullable |
linkedInUrl | string | No | — | nullable |
email | string | No | — | nullable |
taxId | string | No | — | nullable |
enabled | boolean | No | — | — |
customerTenantId | integer · int32 | No | — | — |