<- Location Custom Attributes API

Location Custom Attributes API

Delete location custom attributeBeta

DELETE

 /v2/locations/{location_id}/custom-attributes/{key}

To delete a custom attribute owned by another application, the visibility setting must be VISIBILITY_READ_WRITE_VALUES.

Permissions:MERCHANT_PROFILE_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

location_id

string

Required

Link to section

key

string

Required

The key of the custom attribute to delete. This key must match the key of a custom attribute definition in the Square seller account. If the requesting application is not the definition owner, you must use the qualified key.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.