# Enable Licensee

Enable the previously disabled licensee object.

## POST /public/v1/accounts/licensees/{id}/enable

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"5.0.761-g36983d52"},"servers":[{"url":"https://api.s1.today"}],"paths":{"/public/v1/accounts/licensees/{id}/enable":{"post":{"tags":["Licensees"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"audit":{"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":{"created":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"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~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"disabled":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/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},"contact":{"allOf":[{"type":"object","properties":{"name":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"allOf":[{"type":"object","properties":{"prefix":{"type":"string","nullable":true},"number":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true},"user":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"invitationAcceptedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/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},"email":{"type":"string"},"status":{"type":"string"},"phone":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/contact/allOf/0/properties/phone/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"icon":{"type":"string","nullable":true},"lastLoginAt":{"type":"string","format":"date-time","nullable":true},"settings":{"allOf":[{"type":"object","properties":{"cultureCode":{"type":"string","nullable":true},"languageCode":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true},"name":{"type":"string"},"accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"icon":{"type":"string","nullable":true},"type":{"allOf":[{"enum":["Client","Vendor","Operations"],"type":"string"}],"nullable":true},"status":{"allOf":[{"enum":["Active","Enabled","Disabled"],"type":"string"}],"nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false}},"currentAccount":{"type":"object","allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/contact/allOf/0/properties/user/allOf/0/properties/accounts/items/properties"},"additionalProperties":false}]}},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}],"nullable":true},"name":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"status":{"allOf":[{"enum":["Active","Enabled","Disabled","Deleted"],"type":"string"}],"nullable":true},"address":{"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}],"nullable":true},"useBuyerAddress":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"account":{"type":"object","allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/200/content/application~1json/schema/properties/contact/allOf/0/properties/user/allOf/0/properties/accounts/items/properties"},"additionalProperties":false}]},"buyer":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"icon":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false}]},"seller":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"icon":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"name":{"type":"string"}},"additionalProperties":false}]},"eligibility":{"allOf":[{"type":"object","properties":{"client":{"type":"boolean"},"partner":{"type":"boolean"}},"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":{}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/400/content/application~1json/schema/properties"},"additionalProperties":{"$ref":"#/paths/~1public~1v1~1accounts~1licensees~1{id}~1enable/post/responses/400/content/application~1json/schema/additionalProperties"}}}}}}}}}}
```
