Grant number access

Grants a user or group access to a phone number, as a member unless you ask for owner. Because a number must always have an owner, adding the first grant can also create one — possibly making the admin group the owner. Re-adding a principal that already has a grant answers 200 and leaves its role unchanged, so use PATCH to change a role. The grant is recorded in the number's history.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the phone number. Must be a UUID for a number on your account.

Body Params
string
enum
required

Whether you are granting access to a user or a group.

Allowed:
string
required

The user's ID, or one of the group names user, admin and owner.

string
enum

owner or member. Defaults to member, and any other value is rejected.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json