ais

Create an access policy

Restricted policies support exact AIs, verified business attributes, and geography. Sensitive-trait targeting is rejected.

post/ais/{aiId}/access-policies

Request

  • Base URL: https://api.darwin.so/api/v1
  • URL: https://api.darwin.so/api/v1/ais/{aiId}/access-policies
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

aiIdstring required

Request body

namestring required
visibility'PUBLIC' | 'RESTRICTED' | 'PRIVATE' required
naturalLanguagestring

Response

The compiled access policy.

Changes

No recorded changes to this operation across all 1 revision of this API.