DELETE Subscriber/{subscriberId}/LocationOwners

Delete staff members as location owners

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

SubscriberId

integer

Required

Body Parameters

The location owners to delete

LocationControllerBaseModel
NameDescriptionTypeAdditional information
LocationOwnerAssignments

List of location owner assignments to be added/deleted/updated

Collection of LocationOwnerAssignment

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationOwnerAssignments": [
    {
      "MasterLocationId": 1,
      "StaffLoginId": 2
    },
    {
      "MasterLocationId": 1,
      "StaffLoginId": 2
    }
  ]
}

application/xml, text/xml

Sample:
<LocationControllerBaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Areas.Location.Models">
  <LocationOwnerAssignments xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.LocationOwner">
    <d2p1:LocationOwnerAssignment>
      <d2p1:MasterLocationId>1</d2p1:MasterLocationId>
      <d2p1:StaffLoginId>2</d2p1:StaffLoginId>
    </d2p1:LocationOwnerAssignment>
    <d2p1:LocationOwnerAssignment>
      <d2p1:MasterLocationId>1</d2p1:MasterLocationId>
      <d2p1:StaffLoginId>2</d2p1:StaffLoginId>
    </d2p1:LocationOwnerAssignment>
  </LocationOwnerAssignments>
</LocationControllerBaseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.