Edit key
https://api.joinotify.com/keys/{id}Renames the key, changes which numbers it reaches and what it may do, without changing the secret — no integration has to be updated, and the new reach applies from the next request.
allowedPhoneNumberIds and permissions replace the whole list; an empty list goes back
to every number / every route, and omitting the field leaves it alone. Send at
least one field.
A connected site's key keeps the permissions the plugin uses: changing its permissions
answers 409 key_kind_locked (renaming still works). A revoked key answers
409 key_revoked.
Path Params
1 required
Key ID, from GET /keys.
Body Paramsapplication/json
3 optional
New label.
min. 1 charactersmax. 80 characters
Numbers (phoneNumberId) the key reaches. An empty list or an omitted field = every
number on the account, including the ones connected later.
up to 50 items
The key's scopes (GET /keys/scopes). An empty list or an omitted field = full access.
Writing to a resource includes reading it. An unknown name answers 422.
up to 200 items