# Is there a way to create/delete/disable merchant account?

**URL:** <https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464>\
**Category:** Questions\
**Tags:** merchants-api\
**Created:** [July 13, 2022, 2:56pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464 "2022-07-13T14:56:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gayathri](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Gayathri](https://developer.squareup.com/forums/u/Gayathri)\
**Post date:** [July 13, 2022, 2:56pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/1 "2022-07-13T14:56:20Z")

</div>

I have a developer account in Square through which I am exploring the Square listed APIs. Related to merchants, I could see only the fetch APIs in the Square API explorer. Is there an exposed endpoint to create/delete/disable merchant accounts? Could someone please assist with this? Thanks!

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 13, 2022, 3:53pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/2 "2022-07-13T15:53:06Z")

</div>

At this time the ability to programmatically create and delete a Square account isn’t available with our APIs. You can create and update locations within a Square account with the [Locations API](https://developer.squareup.com/reference/square/locations-api). 🙂

---

<div class="post-metadata">

**Author:** ![Gayathri](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Gayathri](https://developer.squareup.com/forums/u/Gayathri)\
**Post date:** [July 15, 2022, 5:19am UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/3 "2022-07-15T05:19:54Z")

</div>

Thanks, Bryan. So, my understanding here is that Currently, Square doesn’t provide any APIs to disable/delete/delink the merchant accounts. Please correct me on this, Thanks!

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 15, 2022, 4:48pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/4 "2022-07-15T16:48:59Z")

</div>

That’s correct. Today we only have an API that will disable a location within the Square account. 🙂

---

<div class="post-metadata">

**Author:** ![Gayathri](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Gayathri](https://developer.squareup.com/forums/u/Gayathri)\
**Post date:** [July 18, 2022, 9:22am UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/5 "2022-07-18T09:22:56Z")

</div>

Thanks for the input, Bryan. Is there an API to disable a location.?Because update-location API is used to update specific attributes in the location response. Also, this [https://developer.squareup.com/docs/locations-api](https://developer.squareup.com/docs/locations-api) location-API list doesn’t have any particular endpoint to disable the location. Could you please share the API to disable the location if possible? Thanks!

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 18, 2022, 6:01pm UTC](https://developer.squareup.com/forums/t/is-there-a-way-to-create-delete-disable-merchant-account/6464/6 "2022-07-18T18:01:29Z")

</div>

There isn’t a specific endpoint to only disable a location. You’ll have to call `UpdateLocation` to deactivate the location. 🙂
