POST /api/v2/accesscontrolpolicies
Creates a new custom access control policy.
Requires a company admin API key.
Rate limit: 1200 per minute.
Servers
- https://dialpad.com/
- https://sandbox.dialpad.com/
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | Yes |
[single-line only] A human-readable display name for the policy. Max 50 characters. |
description |
String | No |
[single-line only] Optional description for the policy. Max 200 characters. |
owner_id |
Integer | Yes |
Owner for this policy i.e company admin. |
target_type |
String | No |
Policy permissions applied at this target level. Defaults to company target type. Possible values:
Default value: "company" |
permission_sets[] |
Array | Yes |
List of permission associated with this policy. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.