Update the fleet's shell access policy (fleet alias)
Upsert the shell access policy for the fleet (organisation).
fleet_id is the organisation UUID. Alias for
PUT /organizations/{organization_id}/access-policy — same logic, same
auth gates (OWNER / ADMIN only), same policy.changed audit event.
Authorizations
Parameters
Path Parameters
Request Body required
Mutable fields for the PUT /access-policy endpoint.
All fields are optional — only supplied (non-None) values are applied. Validators enforce domain constraints so callers receive clear 422 errors rather than mysterious integrity violations or silent mis-configurations.
object
Responses
200
Successful Response
Full shell access policy document for an organisation.
is_default is True when no row exists yet in shell_access_policy and
the response represents the documented model defaults. Once a PUT has been
issued, is_default is always False.
id is None when the response is a virtual defaults object (is_default=True).
object
422
Validation Error