Access Control
Replace Access Rules on Data Schema
Replaces the list of access-control rules set for this data schema. Existing rules will be removed from the data schema, and only these new rules will be applied.
post/data_schemas/{data_schema_id}/accessors
Request
- Base URLhttps://dataops.nexla.io/nexla-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
data_schema_idinteger required
The unique ID of the data schema.
Request body
Example request
{
"accessors": [
{
"email": "example@nexla.com"
}
]
}Response
Success
Example response
[
{
"email_domain": "nexla.com",
"created_at": "2021-04-06T21:02:17.000Z",
"updated_at": "2021-04-06T21:02:17.000Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.