Acls

Delete single ACL

Changed on

Delete a single ACL

delete/v1/acl

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Request body

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' | 'org_audit_logs' | 'project_group' | 'project_group_projects' | 'ai_secret' | 'org_ai_secret' | 'org_account' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the ACL applies to

user_idstring uuid nullable

Id of the user the ACL applies to. Exactly one of user_id and group_id will be provided

group_idstring uuid nullable

Id of the group the ACL applies to. Exactly one of user_id and group_id will be provided

permission'create' | 'read' | 'update' | 'delete' | 'create_acls' | 'read_acls' | 'update_acls' | 'delete_acls'

Each permission permits a certain type of operation on an object in the system

Permissions can be assigned to to objects on an individual basis, or grouped into roles

restrict_object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' | 'org_audit_logs' | 'project_group' | 'project_group_projects' | 'ai_secret' | 'org_ai_secret' | 'org_account'

The object type that the ACL applies to

role_idstring uuid nullable

Id of the role the ACL grants. Exactly one of permission and role_id will be provided

Response

Returns the deleted ACL object

idstring uuid required

Unique identifier for the acl

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' | 'org_audit_logs' | 'project_group' | 'project_group_projects' | 'ai_secret' | 'org_ai_secret' | 'org_account' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the ACL applies to

user_idstring uuid nullable

Id of the user the ACL applies to. Exactly one of user_id and group_id will be provided

group_idstring uuid nullable

Id of the group the ACL applies to. Exactly one of user_id and group_id will be provided

permission'create' | 'read' | 'update' | 'delete' | 'create_acls' | 'read_acls' | 'update_acls' | 'delete_acls'

Each permission permits a certain type of operation on an object in the system

Permissions can be assigned to to objects on an individual basis, or grouped into roles

restrict_object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' | 'org_audit_logs' | 'project_group' | 'project_group_projects' | 'ai_secret' | 'org_ai_secret' | 'org_account'

The object type that the ACL applies to

role_idstring uuid nullable

Id of the role the ACL grants. Exactly one of permission and role_id will be provided

_object_org_idstring uuid required

The organization the ACL's referred object belongs to

createdstring date-time nullable

Date of acl creation

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      removed the enum value ai_secret of the request property

    • breaking

      removed the enum value create of the request property

    • breaking

      removed the enum value create_acls of the request property

    • breaking

      removed the enum value dataset of the request property

    • breaking

      removed the enum value delete of the request property

    • breaking

      removed the enum value delete_acls of the request property

    • breaking

      removed the enum value experiment of the request property

    • breaking

      removed the enum value group of the request property

    • breaking

      removed the enum value org_account of the request property

    • breaking

      removed the enum value org_ai_secret of the request property

    • breaking

      removed the enum value org_audit_logs of the request property

    • breaking

      removed the enum value org_member of the request property

    • breaking

      removed the enum value org_project of the request property

    • breaking

      removed the enum value organization of the request property

    • breaking

      removed the enum value project of the request property

    • breaking

      removed the enum value project_group of the request property

    • breaking

      removed the enum value project_group_projects of the request property

    • breaking

      removed the enum value project_log of the request property

    • breaking

      removed the enum value prompt of the request property

    • breaking

      removed the enum value prompt_session of the request property

    • breaking

      removed the enum value read of the request property

    • breaking

      removed the enum value read_acls of the request property

    • breaking

      removed the enum value role of the request property

    • breaking

      removed the enum value update of the request property

    • breaking

      removed the enum value update_acls of the request property

    • breaking

      the request property type changed from string to no type

    • breaking

      the request property type changed from string to no type

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the response's property type changed from string to no type for status

    • info

      added subschema #2 to the request property anyOf list

    • info

      added subschema #2 to the request property anyOf list

    • info

      added subschema #2 to the response property anyOf list for the response status

    • info

      added subschema #2 to the response property anyOf list for the response status

    • info

      removed the ai_secret enum value from the response property for the response status

    • info

      removed the create enum value from the response property for the response status

    • info

      removed the create_acls enum value from the response property for the response status

    • info

      removed the dataset enum value from the response property for the response status

    • info

      removed the delete enum value from the response property for the response status

    • info

      removed the delete_acls enum value from the response property for the response status

    • info

      removed the experiment enum value from the response property for the response status

    • info

      removed the group enum value from the response property for the response status

    • info

      removed the org_account enum value from the response property for the response status

    • info

      removed the org_ai_secret enum value from the response property for the response status

    • info

      removed the org_audit_logs enum value from the response property for the response status

    • info

      removed the org_member enum value from the response property for the response status

    • info

      removed the org_project enum value from the response property for the response status

    • info

      removed the organization enum value from the response property for the response status

    • info

      removed the project enum value from the response property for the response status

    • info

      removed the project_group enum value from the response property for the response status

    • info

      removed the project_group_projects enum value from the response property for the response status

    • info

      removed the project_log enum value from the response property for the response status

    • info

      removed the prompt enum value from the response property for the response status

    • info

      removed the prompt_session enum value from the response property for the response status

    • info

      removed the read enum value from the response property for the response status

    • info

      removed the read_acls enum value from the response property for the response status

    • info

      removed the role enum value from the response property for the response status

    • info

      removed the update enum value from the response property for the response status

    • info

      removed the update_acls enum value from the response property for the response status

    • warning

      added the new project_group_projects enum value to the response property for the response status

    • warning

      added the new project_group_projects enum value to the response property for the response status

    • info

      added the new project_group_projects enum value to the request property

    • info

      added the new project_group_projects enum value to the request property