Access Request Destinations
The notification destinations that receive access requests for a Unity Catalog securable. A securable without destinations of its own uses its owner's email when default owner email destinations are on; otherwise it inherits the destinations of its nearest parent that has any.
AccessRequestDestinations object
The notification destinations that receive access requests for a Unity Catalog securable. A securable without destinations of its own uses its owner's email when default owner email destinations are on; otherwise it inherits the destinations of its nearest parent that has any.
- destinationsarray of objectPublic PreviewUnordered list
The access request destinations for the securable.
Show child attributesHide child attributes
- destination_idstringPublic Preview
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_typestringPublic Preview
The type of the destination.
EMAILSLACKGENERIC_WEBHOOKMICROSOFT_TEAMSURL
- special_destinationstringPublic Preview
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.
SPECIAL_DESTINATION_CATALOG_OWNERSPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNERSPECIAL_DESTINATION_CONNECTION_OWNERSPECIAL_DESTINATION_CREDENTIAL_OWNERSPECIAL_DESTINATION_METASTORE_OWNERSPECIAL_DESTINATION_SCHEMA_OWNERBetaSPECIAL_DESTINATION_TABLE_OWNERBetaSPECIAL_DESTINATION_VOLUME_OWNERBetaSPECIAL_DESTINATION_FUNCTION_OWNERBetaSPECIAL_DESTINATION_REGISTERED_MODEL_OWNERBeta
- securableobjectPublic Preview
The securable for which the access request destinations are being modified or read.
Show child attributesHide child attributes
- typestringPublic Preview
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
Show 24 possible values
CATALOGSCHEMATABLESTORAGE_CREDENTIALEXTERNAL_LOCATIONFUNCTIONSHAREPROVIDERRECIPIENTCLEAN_ROOMMETASTOREPIPELINEVOLUMECONNECTIONCREDENTIALEXTERNAL_METADATASTAGING_TABLEMODELMODEL_SERVICEMCP_SERVICEMODEL_PROVIDER_SERVICEAGENT_SERVICEBetaSKILLBetaFEATURE
- full_namestringPublic Preview
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- destination_source_securableobjectPublic PreviewOutput only
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
- typestringPublic Preview
Required. The type of securable (catalog/schema/table). Optional if resource_name is present.
Show 24 possible values
CATALOGSCHEMATABLESTORAGE_CREDENTIALEXTERNAL_LOCATIONFUNCTIONSHAREPROVIDERRECIPIENTCLEAN_ROOMMETASTOREPIPELINEVOLUMECONNECTIONCREDENTIALEXTERNAL_METADATASTAGING_TABLEMODELMODEL_SERVICEMCP_SERVICEMODEL_PROVIDER_SERVICEAGENT_SERVICEBetaSKILLBetaFEATURE
- full_namestringPublic Preview
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- securable_typestringPublic PreviewOutput only
The type of the securable, repeated from securable as a plain string.
- full_namestringPublic PreviewOutput only
The full name of the securable, repeated from securable.
- url_configurationobjectBeta
The access request URLs shared by every workspace in the metastore. Only set when the securable is a metastore. These URLs are used when neither the requested securable nor its parents have an explicit destination or a default owner email destination, and they take precedence over metastore destinations.
A dynamic_url and default owner email destinations cannot both be on: saving one turns the other off. Saving a dynamic_url while they are on requires a metastore admin.
Setting this field removes the metastore destinations in this workspace. The first save also removes the metastore URL destinations of other workspaces. Once set, the configuration can be cleared but not removed.
Show child attributesHide child attributes
- redirect_urlstringBeta
The URL for access requests on the metastore and on securables outside catalogs, such as external locations, connections, and credentials. Also used for catalogs and the securables inside them when dynamic_url is not set or cannot produce a valid URL. Must start with
http://orhttps://, contain only printable ASCII characters without spaces or backslashes, and be at most 2,048 characters.
- dynamic_urlstringBeta
The URL template for access requests on catalogs and the securables inside them, such as schemas, tables, volumes, functions, and registered models. Placeholders are replaced with percent-encoded values from the requested securable:
{catalog}with the catalog name (main),{catalog.schema}with the catalog and schema names (main.sales),{catalog.schema.object}with the full name (main.sales.orders),{securable_type}with the securable type (TABLE), and{securable_id}with the securable ID. Name placeholders leave out levels the securable does not have, so{catalog.schema.object}ismain.salesfor a schema. When the deepest name placeholder stops above the requested securable, such as{catalog.schema}for a table,{securable_type}and{securable_id}describe that parent. If the filled-in URL is longer than 4,096 characters, the redirect_url is used instead.Must start with
http://orhttps://, contain only printable ASCII characters without spaces or backslashes, and be at most 2,048 characters. Braces are only allowed around a placeholder.
- syntax_versionint32Beta
The version of the placeholder syntax used in dynamic_url. The only supported version is
1.
Get Access Request Destinations Public Preview
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_typestringRequiredpath
The type of the securable. Matching is case-insensitive, and hyphens may replace underscores in multi-word types.
- full_namestringRequiredpath
The full name of the securable: the names of its parents followed by its own name, separated by dots, for example
main.sales.ordersfor a table.
Response
Returns the AccessRequestDestinations object.
Update Access Request Destinations Public Preview
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, Generic Webhook, Databricks App Slack/Teams, Asana, ServiceNow, and EventBridge destinations) can be assigned to a securable. If a URL destination is assigned, no other destinations can be set. An update replaces every destination assigned directly to the securable in this workspace. An empty list removes them all.
The supported securable types are: "metastore", "catalog", "schema", "table", "external_location", "connection", "credential", "function", "registered_model", and "volume".
On a metastore that has a url_configuration, its URLs are shared by every workspace, while emails and webhooks are still saved per workspace. There, a URL destination replaces the configuration's redirect_url and clears its dynamic_url, so requests that used the dynamic_url go to the new URL. An update that has no URL destination and does not set url_configuration clears both URLs, in every workspace.
API scopes: unity-catalog
Parameters
- update_maskstringRequiredquery
The paths of the field mask are not evaluated, because an update always replaces the full list of destinations.
Request body
The access request destinations to assign to the securable. For each destination, a destination_id and destination_type must be defined.
- destinationsarray of objectUnordered list
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.
EMAILSLACKGENERIC_WEBHOOKMICROSOFT_TEAMSURL
- 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.
SPECIAL_DESTINATION_CATALOG_OWNERSPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNERSPECIAL_DESTINATION_CONNECTION_OWNERSPECIAL_DESTINATION_CREDENTIAL_OWNERSPECIAL_DESTINATION_METASTORE_OWNERSPECIAL_DESTINATION_SCHEMA_OWNERBetaSPECIAL_DESTINATION_TABLE_OWNERBetaSPECIAL_DESTINATION_VOLUME_OWNERBetaSPECIAL_DESTINATION_FUNCTION_OWNERBetaSPECIAL_DESTINATION_REGISTERED_MODEL_OWNERBeta
- securableobjectRequired
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.
Show 24 possible values
CATALOGSCHEMATABLESTORAGE_CREDENTIALEXTERNAL_LOCATIONFUNCTIONSHAREPROVIDERRECIPIENTCLEAN_ROOMMETASTOREPIPELINEVOLUMECONNECTIONCREDENTIALEXTERNAL_METADATASTAGING_TABLEMODELMODEL_SERVICEMCP_SERVICEMODEL_PROVIDER_SERVICEAGENT_SERVICEBetaSKILLBetaFEATURE
- full_namestring
Required. The full name of the catalog/schema/table. Optional if resource_name is present.
- url_configurationobjectBeta
The access request URLs shared by every workspace in the metastore. Only set when the securable is a metastore. These URLs are used when neither the requested securable nor its parents have an explicit destination or a default owner email destination, and they take precedence over metastore destinations.
A dynamic_url and default owner email destinations cannot both be on: saving one turns the other off. Saving a dynamic_url while they are on requires a metastore admin.
Setting this field removes the metastore destinations in this workspace. The first save also removes the metastore URL destinations of other workspaces. Once set, the configuration can be cleared but not removed.
Show child attributesHide child attributes
- redirect_urlstringBeta
The URL for access requests on the metastore and on securables outside catalogs, such as external locations, connections, and credentials. Also used for catalogs and the securables inside them when dynamic_url is not set or cannot produce a valid URL. Must start with
http://orhttps://, contain only printable ASCII characters without spaces or backslashes, and be at most 2,048 characters.
- dynamic_urlstringBeta
The URL template for access requests on catalogs and the securables inside them, such as schemas, tables, volumes, functions, and registered models. Placeholders are replaced with percent-encoded values from the requested securable:
{catalog}with the catalog name (main),{catalog.schema}with the catalog and schema names (main.sales),{catalog.schema.object}with the full name (main.sales.orders),{securable_type}with the securable type (TABLE), and{securable_id}with the securable ID. Name placeholders leave out levels the securable does not have, so{catalog.schema.object}ismain.salesfor a schema. When the deepest name placeholder stops above the requested securable, such as{catalog.schema}for a table,{securable_type}and{securable_id}describe that parent. If the filled-in URL is longer than 4,096 characters, the redirect_url is used instead.Must start with
http://orhttps://, contain only printable ASCII characters without spaces or backslashes, and be at most 2,048 characters. Braces are only allowed around a placeholder.
- syntax_versionint32Beta
The version of the placeholder syntax used in dynamic_url. The only supported version is
1.
Response
Returns the AccessRequestDestinations object.