Access Control

Replace Access Rules on Code Container

Replaces the list of access-control rules set for this code container. Existing rules will be removed from the code container, and only these new rules will be applied.

post/code_containers/{code_container_id}/accessors

Request

Path parameters

code_container_idinteger required

The unique ID of the code container.

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.