set_access
Lock a mock with a token (private) and/or restrict the allowed browser origins. Pro plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Subdomain of the mock, e.g. "brisk-otter" | |
| origins | No | Allowed origins (https://app.example.com); null to allow all | |
| private | No | ||
| ownerToken | No | Owner token received at creation (not needed when the account is connected with an API token) |