User Invites
Delete a user invite
API Reference
Virtual Keys
Prompts
- POSTCreate Prompt
- GETList Prompts
- GETRetrieve Prompt
- PUTUpdate Prompt
- DELDelete Prompt
- PUTPublish Prompt
- GETList Prompt Versions
- GETRetrieve Prompt Version
- PUTUpdate Prompt Version
- Prompt Partials
- Prompt Labels
- Prompt Collections
API Keys
Analytics [BETA]
- Summary
- Groups Paginated Data
- Graphs - Time Series Data
User Invites
Workspaces
Workspace Members
OpenAPI
Delete a user invite
DELETE
/
admin
/
users
/
invites
/
{inviteId}
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete a user invite
user = portkey.admin.users.invites.delete(
invite_id="INVITE_ID"
)
print(user)
{}
Authorizations
Path Parameters
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete a user invite
user = portkey.admin.users.invites.delete(
invite_id="INVITE_ID"
)
print(user)
{}