Update, delete or audit a project
manage_projectChange a wuapi project's name, external ID, metadata, account limit, or status; delete it; and list or revoke its API keys.
Instructions
Change a project (rename it, set its external id, metadata or account limit, suspend or resume it), delete it, and list or revoke its API keys. Suspending refuses every send and write in the project while reads and inbound messages keep working. Organization keys only. New project keys are created in the wuapi dashboard: no tool returns an API key.
Actions:
update: Change any of name, externalId, metadata, maxAccounts and status. Returns the project.delete: Delete the project: its keys stop working at once, and its numbers are logged out and deleted in the background with its webhook endpoints. Needsconfirm: true.list_keys: The project's API keys, revoked ones included: name, last 4 characters, last use. Never the key itself.revoke_key: Revoke one of the project's API keys. It stops working at once. Needsconfirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The project name. Optional for `update`. | |
| limit | No | Page size, 1 to 100. Default 20. Optional for `list_keys`. | |
| action | Yes | What to do. See the list of actions in the tool description. | |
| cursor | No | `nextCursor` from the previous page, to get the next one. Optional for `list_keys`. | |
| status | No | `suspended` refuses sends and writes; `active` resumes. Optional for `update`. | |
| confirm | No | Must be true. This cannot be undone. Only set it after the user asked for this or agreed to it. Required for `delete`, `revoke_key`. | |
| apiKeyId | No | The API key id, from `list_keys`. Required for `revoke_key`. | |
| metadata | No | Your own string values. Replaces the whole metadata object. Optional for `update`. | |
| projectId | No | The project id or `ext:<externalId>`. Required for every action. | |
| externalId | No | Your id for this customer: letters, digits and `. _ : @ -`. null clears it. Optional for `update`. | |
| maxAccounts | No | How many numbers it may link. null removes the limit. Optional for `update`. |