Skip to main content

Access Request Destinations

View as Markdown

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.

Example: john.doe@example.com

destination_typestringPublic Preview

The type of the destination.

Values:

  • EMAIL
  • SLACK
  • GENERIC_WEBHOOK
  • MICROSOFT_TEAMS
  • URL

Example: EMAIL

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.

Values:

  • SPECIAL_DESTINATION_CATALOG_OWNER
  • SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER
  • SPECIAL_DESTINATION_CONNECTION_OWNER
  • SPECIAL_DESTINATION_CREDENTIAL_OWNER
  • SPECIAL_DESTINATION_METASTORE_OWNER
  • SPECIAL_DESTINATION_SCHEMA_OWNER Beta
  • SPECIAL_DESTINATION_TABLE_OWNER Beta
  • SPECIAL_DESTINATION_VOLUME_OWNER Beta
  • SPECIAL_DESTINATION_FUNCTION_OWNER Beta
  • SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER Beta

Example: SPECIAL_DESTINATION_CATALOG_OWNER

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.

Values:

Show 24 possible values
  • CATALOG
  • SCHEMA
  • TABLE
  • STORAGE_CREDENTIAL
  • EXTERNAL_LOCATION
  • FUNCTION
  • SHARE
  • PROVIDER
  • RECIPIENT
  • CLEAN_ROOM
  • METASTORE
  • PIPELINE
  • VOLUME
  • CONNECTION
  • CREDENTIAL
  • EXTERNAL_METADATA
  • STAGING_TABLE
  • MODEL
  • MODEL_SERVICE
  • MCP_SERVICE
  • MODEL_PROVIDER_SERVICE
  • AGENT_SERVICE Beta
  • SKILL Beta
  • FEATURE
full_namestringPublic Preview

Required. The full name of the catalog/schema/table. Optional if resource_name is present.

provider_sharestringPublic Preview

Optional. The name of the Share object that contains the securable when the securable is getting shared in D2D Delta Sharing.

are_any_destinations_hiddenbooleanPublic PreviewOutput only

Indicates whether any destinations are hidden from the caller due to a lack of permissions. This value is true if the caller does not have permission to see all destinations.

Example: false

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.

Values:

Show 24 possible values
  • CATALOG
  • SCHEMA
  • TABLE
  • STORAGE_CREDENTIAL
  • EXTERNAL_LOCATION
  • FUNCTION
  • SHARE
  • PROVIDER
  • RECIPIENT
  • CLEAN_ROOM
  • METASTORE
  • PIPELINE
  • VOLUME
  • CONNECTION
  • CREDENTIAL
  • EXTERNAL_METADATA
  • STAGING_TABLE
  • MODEL
  • MODEL_SERVICE
  • MCP_SERVICE
  • MODEL_PROVIDER_SERVICE
  • AGENT_SERVICE Beta
  • SKILL Beta
  • FEATURE
full_namestringPublic Preview

Required. The full name of the catalog/schema/table. Optional if resource_name is present.

provider_sharestringPublic Preview

Optional. The name of the Share object that contains the securable when the securable is getting shared in D2D Delta Sharing.

securable_typestringPublic PreviewOutput only

The type of the securable, repeated from securable as a plain string.

Example: TABLE

full_namestringPublic PreviewOutput only

The full name of the securable, repeated from securable.

Example: main.sales.orders

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:// or https://, 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} is main.sales for 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:// or https://, 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 /api/3.0/rfa/destinations/{securable_type}/{full_name}

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.

Example: table

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.orders for a table.

Example: main.sales.orders

Response​

Returns the AccessRequestDestinations object.

Update Access Request Destinations Public Preview​

PATCH /api/3.0/rfa/destinations

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.

Example: 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.

Example: john.doe@example.com

destination_typestring

The type of the destination.

Values:

  • EMAIL
  • SLACK
  • GENERIC_WEBHOOK
  • MICROSOFT_TEAMS
  • URL

Example: EMAIL

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.

Values:

  • SPECIAL_DESTINATION_CATALOG_OWNER
  • SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER
  • SPECIAL_DESTINATION_CONNECTION_OWNER
  • SPECIAL_DESTINATION_CREDENTIAL_OWNER
  • SPECIAL_DESTINATION_METASTORE_OWNER
  • SPECIAL_DESTINATION_SCHEMA_OWNER Beta
  • SPECIAL_DESTINATION_TABLE_OWNER Beta
  • SPECIAL_DESTINATION_VOLUME_OWNER Beta
  • SPECIAL_DESTINATION_FUNCTION_OWNER Beta
  • SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER Beta

Example: SPECIAL_DESTINATION_CATALOG_OWNER

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.

Values:

Show 24 possible values
  • CATALOG
  • SCHEMA
  • TABLE
  • STORAGE_CREDENTIAL
  • EXTERNAL_LOCATION
  • FUNCTION
  • SHARE
  • PROVIDER
  • RECIPIENT
  • CLEAN_ROOM
  • METASTORE
  • PIPELINE
  • VOLUME
  • CONNECTION
  • CREDENTIAL
  • EXTERNAL_METADATA
  • STAGING_TABLE
  • MODEL
  • MODEL_SERVICE
  • MCP_SERVICE
  • MODEL_PROVIDER_SERVICE
  • AGENT_SERVICE Beta
  • SKILL Beta
  • FEATURE
full_namestring

Required. The full name of the catalog/schema/table. Optional if resource_name is present.

provider_sharestring

Optional. The name of the Share object that contains the securable when the securable is getting shared in D2D Delta Sharing.

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:// or https://, 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} is main.sales for 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:// or https://, 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.