Access Request Destinations
AccessRequestDestinations object
- destinationsarray of object
The access request destinations for the securable.
Show child attributesHide child attributes
- destination_idstring
The identifier for the destination. This is the email address for EMAIL destinations, the URL for URL destinations, or the unique <Databricks> notification destination ID for all other external destinations.
- destination_typestring
The type of the destination.
- special_destinationstring
This field is used to denote whether the destination is the email of the owner of the securable object. The special destination cannot be assigned to a securable and only represents the default destination of the securable. The securable types that support default special destinations are: "catalog", "external_location", "connection", "credential", and "metastore". The destination_type of a special_destination is always EMAIL.
- securableobject
The securable for which the access request destinations are being modified or read.
Show child attributesHide child attributes
- typestring
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
- full_namestring
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- destination_source_securableobject
The source securable from which the destinations are inherited. Either the same value as securable (if destination is set directly on the securable) or the nearest parent securable with destinations set.
Show child attributesHide child attributes
- typestring
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
- full_namestring
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- securable_typestring
The type of the securable. Redundant with the type in the securable object, but necessary for Terraform integration
- full_namestring
The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration
Get
GET
Gets an array of access request destinations for the specified securable. Any caller can see URL destinations or the destinations on the metastore. Otherwise, only those with BROWSE permissions on the securable can see destinations.
The supported securable types are: "metastore", "catalog", "schema", "table", "external_location", "connection", "credential", "function", "registered_model", and "volume".
API scopes: unity-catalog
Parameters
- securable_typestringpath
The type of the securable.
- full_namestringpath
The full name of the securable.
Response
Returns the AccessRequestDestinations object.
Update
PATCH
Updates the access request destinations for the given securable. The caller must be a metastore admin, the owner of the securable, or a user that has the MANAGE privilege on the securable in order to assign destinations. A maximum of 5 emails and 5 external notification destinations (Slack, Microsoft Teams, and Generic Webhook destinations) can be assigned to a securable. If a URL destination is assigned, no other destinations can be set.
The supported securable types are: "metastore", "catalog", "schema", "table", "external_location", "connection", "credential", "function", "registered_model", and "volume".
API scopes: unity-catalog
Parameters
- update_maskstringquery
Request body
- access_request_destinationsobject
The access request destinations to assign to the securable. For each destination, a destination_id and destination_type must be defined.
Show child attributesHide child attributes
- destinationsarray of object
The access request destinations for the securable.
Show child attributesHide child attributes
- destination_idstring
The identifier for the destination. This is the email address for EMAIL destinations, the URL for URL destinations, or the unique <Databricks> notification destination ID for all other external destinations.
- destination_typestring
The type of the destination.
- special_destinationstring
This field is used to denote whether the destination is the email of the owner of the securable object. The special destination cannot be assigned to a securable and only represents the default destination of the securable. The securable types that support default special destinations are: "catalog", "external_location", "connection", "credential", and "metastore". The destination_type of a special_destination is always EMAIL.
- securableobject
The securable for which the access request destinations are being modified or read.
Show child attributesHide child attributes
- typestring
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
- full_namestring
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- destination_source_securableobject
The source securable from which the destinations are inherited. Either the same value as securable (if destination is set directly on the securable) or the nearest parent securable with destinations set.
Show child attributesHide child attributes
- typestring
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
- full_namestring
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- securable_typestring
The type of the securable. Redundant with the type in the securable object, but necessary for Terraform integration
- full_namestring
The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration
Response
Returns the AccessRequestDestinations object.