DELETE
/
api
/
v1
/
users
/
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.v1.delete(request={
        "email": "user@email.com",
        "reason": "User left the organization",
    })

    # Handle response
    print(res)
"<any>"

Authorizations

Syllable-API-Key
string
header
required

Body

application/json

Request model to delete a user.

Response

200
application/json

Successful Response

The response is of type any.