Update Account

Update the Account object.

put
Path parameters
idstringRequired
Body
logostring · binaryOptional
Responses
200

OK

application/json
put
PUT /public/v1/accounts/accounts/{id} HTTP/1.1
Host: api.s1.today
Content-Type: multipart/form-data
Accept: */*
Content-Length: 3074

{
  "account": {
    "ExternalIds.PyraTenantId": "123e4567-e89b-12d3-a456-426614174000",
    "ExternalId": "text",
    "ExternalName": "text",
    "Address.AddressLine1": "text",
    "Address.AddressLine2": "text",
    "Address.PostCode": "text",
    "Address.City": "text",
    "Address.State": "text",
    "Address.Country": "text",
    "TechnicalSupportEmail": "text",
    "Website": "text",
    "Description": "text",
    "Groups": [
      {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-09-16T17:59:33.042Z",
            "by": {
              "id": "text",
              "name": "text",
              "icon": "text",
              "revision": 1
            }
          },
          "updated": {
            "at": "2025-09-16T17:59:33.042Z",
            "by": {
              "id": "text",
              "name": "text",
              "icon": "text",
              "revision": 1
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "name": "text",
        "revision": 1,
        "description": "text",
        "account": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1,
          "type": "Client",
          "status": "Active"
        },
        "modules": [
          {
            "id": "text",
            "name": "text",
            "revision": 1,
            "description": "text",
            "filters": {
              "group.buyers": [
                "text"
              ]
            },
            "settings": {
              "configurable": true,
              "default": true,
              "paid": true,
              "type": [
                "text"
              ],
              "obsolete": true,
              "eligibility": {
                "multi": true,
                "single": true
              }
            }
          }
        ],
        "logo": "text",
        "isDefault": true,
        "users": [
          {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        ],
        "buyers": [
          {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        ]
      }
    ],
    "Eligibility.Client": true,
    "Eligibility.Partner": true,
    "Type": "Client",
    "Status": "Active",
    "Metadata.OmittedProperties": [
      "text"
    ],
    "Name": "text",
    "Icon": "text",
    "Revision": 1,
    "Audit.Created.At": "2025-09-16T17:59:33.042Z",
    "Audit.Created.ById": "text",
    "Audit.Created.By.Type": "User",
    "Audit.Created.By.Metadata.OmittedProperties": [
      "text"
    ],
    "Audit.Created.By.Name": "text",
    "Audit.Created.By.Icon": "text",
    "Audit.Created.By.Revision": 1,
    "Audit.Created.By.Audit.Created": {
      "at": "2025-09-16T17:59:33.042Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "Audit.Created.By.Audit.Updated.At": "2025-09-16T17:59:33.042Z",
    "Audit.Created.By.Audit.Updated.ById": "text",
    "Audit.Created.By.Audit.Updated.By": {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-09-16T17:59:33.042Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        },
        "updated": {
          "at": "2025-09-16T17:59:33.042Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "name": "text",
      "icon": "text",
      "revision": 1
    },
    "Audit.Created.By.Id": "text",
    "Audit.Updated.At": "2025-09-16T17:59:33.042Z",
    "Audit.Updated.ById": "text",
    "Audit.Updated.By.Type": "User",
    "Audit.Updated.By.Metadata.OmittedProperties": [
      "text"
    ],
    "Audit.Updated.By.Name": "text",
    "Audit.Updated.By.Icon": "text",
    "Audit.Updated.By.Revision": 1,
    "Audit.Updated.By.Audit.Created.At": "2025-09-16T17:59:33.042Z",
    "Audit.Updated.By.Audit.Created.ById": "text",
    "Audit.Updated.By.Audit.Created.By": {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-09-16T17:59:33.042Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        },
        "updated": {
          "at": "2025-09-16T17:59:33.042Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "name": "text",
      "icon": "text",
      "revision": 1
    },
    "Audit.Updated.By.Audit.Updated": {
      "at": "2025-09-16T17:59:33.042Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "Audit.Updated.By.Id": "text",
    "Id": "text"
  },
  "logo": "binary"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-16T17:59:33.042Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-16T17:59:33.042Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "icon": "text",
  "revision": 1,
  "type": "Client",
  "status": "Active",
  "externalIds": {
    "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
  },
  "externalId": "text",
  "externalName": "text",
  "address": {
    "addressLine1": "text",
    "addressLine2": "text",
    "postCode": "text",
    "city": "text",
    "state": "text",
    "country": "text"
  },
  "technicalSupportEmail": "[email protected]",
  "website": "text",
  "description": "text",
  "groups": [
    {
      "id": "text",
      "name": "text",
      "revision": 1,
      "description": "text",
      "logo": "text",
      "isDefault": true
    }
  ],
  "eligibility": {
    "client": true,
    "partner": true
  }
}

Last updated

Was this helpful?