Get Security project link candidates
- Base URL
-
https://api.elastic-cloud.com
- GET /api/v1/serverless/projects/security/{id}/link-candidates
The response contains the list of projects which can be linked to the specified Security project in a cross-project search configuration.
Query parameters
-
typesenum[] -
One or more types of projects to return as link candidates.
-
Values:
elasticsearchobservabilitysecurityvectordb -
tagsmap string to string · min properties: 1 · max properties: 64 -
If specified, the result will be filtered to only those projects that have the specified tags and corresponding values.
-
Example:
{"tags[environment]":"production","tags[team]":"team-a"} -
<string>string · min length: 1 · max length: 128 · pattern: ^[a-z0-9][a-z0-9_-]*$
Responses
The requested link candidate projects
-
itemsobject[]required -
The linked candidates.
-
aliasstring · min length: 1 · max length: 50 · pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$required -
A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
-
typeenumrequired -
The type of the linked project
-
Values:
elasticsearchobservabilitysecurityvectordb -
tagsmap string to string · min properties: 1 · max properties: 64required -
Tags associated with a project in the form of key-value pairs. Tags are limited to a minimum of 1 and a maximum of 64 per project. Each tag key must begin with a lowercase letter (a-z), contain only lowercase letters, digits, underscores, and hyphens (a-z0-9_-), and have a maximum length of 32 characters.
-
<string>string · min length: 1 · max length: 128 · pattern: ^[a-z0-9][a-z0-9_-]*$