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": "[email protected]",
"reason": "User left the organization",
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Delete a user.
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": "[email protected]",
"reason": "User left the organization",
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Request model to delete a user.
The email address of the user to delete
The reason for deleting the user
"User left the organization"
Successful Response