# Validate Account

Validate the Account object.

## POST /public/v1/accounts/accounts/{id}/validate

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"5.0.764-gbc924a47"},"servers":[{"url":"https://api.s1.today"}],"paths":{"/public/v1/accounts/accounts/{id}/validate":{"post":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"audit":{"type":"object","allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"at":{"type":"string","format":"date-time","nullable":true},"by":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties"},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}]},"$meta":{"type":"object","allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties/by/allOf/0/properties/$meta/allOf/0/properties"},"additionalProperties":false}]},"icon":{"type":"string","nullable":true},"externalIds":{"type":"object","allOf":[{"type":"object","properties":{"pyraTenantId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false}]},"externalId":{"type":"string","nullable":true},"externalName":{"type":"string","nullable":true},"type":{"type":"string","allOf":[{"enum":["Client","Vendor","Operations"],"type":"string"}]},"status":{"type":"string","allOf":[{"enum":["Active","Enabled","Disabled"],"type":"string"}]},"address":{"type":"object","allOf":[{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"postCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true}},"additionalProperties":false}]},"technicalSupportEmail":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"logo":{"type":"string","nullable":true},"isDefault":{"type":"boolean"}},"additionalProperties":false},"nullable":true},"eligibility":{"type":"object","allOf":[{"type":"object","properties":{"client":{"type":"boolean"},"partner":{"type":"boolean"}},"additionalProperties":false}]}},"additionalProperties":false}},"text/json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties"},"additionalProperties":false}},"application/*+json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties"},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties"},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties/by/allOf/0/properties/$meta/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"icon":{"type":"string","nullable":true},"externalIds":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/externalIds/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"externalId":{"type":"string","nullable":true},"externalName":{"type":"string","nullable":true},"type":{"allOf":[{"enum":["Client","Vendor","Operations"],"type":"string"}],"nullable":true},"status":{"allOf":[{"enum":["Active","Enabled","Disabled"],"type":"string"}],"nullable":true},"serviceLevel":{"allOf":[{"enum":["Express","Elite","Dsc","Focus","Runners","Strategics","NotApplicable"],"type":"string"}],"nullable":true},"address":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/address/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"technicalSupportEmail":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"groups":{"type":"array","items":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/groups/items/properties"},"additionalProperties":false},"nullable":true},"eligibility":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1accounts~1{id}~1validate/post/requestBody/content/application~1json/schema/properties/eligibility/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}}}}}}
```
