Skip to main content

Delete a guest by id within a business

DELETE 

https://api.staging.powerapi.com/api/v2/businesses/:business_id/guests/:guest_id

Delete a guest by their id within a specific business

Request

Path Parameters

    business_id stringrequired
    guest_id stringrequired

Responses

Schema

    id uuidrequired

    Unique ID of the guest

    email emailrequired

    Email of the guest

    first_name stringrequired

    First name of the guest

    last_name stringrequired

    Last name of the guest

    birthday datenullable

    Birthday of the guest

    phone stringnullable

    Possible values: >= 6 characters and <= 15 characters, Value must match regular expression ^[0-9]*$

    Phone number of the guest

    phone_country_code stringnullable

    Possible values: >= 2 characters and <= 2 characters, Value must match regular expression ^[A-Z]{2}$

    Country code of the phone number

    phone_country_prefix stringnullable

    Possible values: non-empty and <= 4 characters, Value must match regular expression ^[0-9]+$

    Country prefix of the phone number

    tags string[]required
    general_note stringnullable

    General note about the guest

    visit_note stringnullable

    Note about the guest's visit

curl -L -X DELETE 'https://api.staging.powerapi.com/api/v2/businesses/:business_id/guests/:guest_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://api.staging.powerapi.com
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!