v47

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2024-10-01163166522.3 KB
Views

Delete view

Delete a view object by its id

delete/v1/view/{view_id}

Path parameters

view_idstring uuid required

View id

View id

Request body

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the view applies to

Response

Returns the deleted view object

idstring uuid required

Unique identifier for the view

object_type'organization' | 'project' | 'experiment' | 'dataset' | 'prompt' | 'prompt_session' | 'group' | 'role' | 'org_member' | 'project_log' | 'org_project' required

The object type that the ACL applies to

object_idstring uuid required

The id of the object the view applies to

view_typestring required

Type of table that the view corresponds to.

namestring required

Name of the view

createdstring date-time nullable

Date of view creation

user_idstring uuid nullable

Identifies the user who created the view

deleted_atstring date-time nullable

Date of role deletion, or null if the role is still active