For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Create a Relay Proxy config.
curl --request POST \
--url https://app.launchdarkly.com/api/v2/account/relay-auto-configs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sample Relay Proxy config for all proj and env",
"policy": [
{
"actions": [
"*"
],
"effect": "allow",
"resources": [
"proj/*:env/*"
]
}
]
}
'{
"_id": "12ab3c45de678910abc12345",
"name": "Relay Proxy Demo Config",
"policy": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"displayKey": "7f30",
"creationDate": "1628001602644",
"lastModified": "1628001602644",
"_creator": {
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"role": "admin",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
},
"fullKey": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
A human-friendly name for the Relay Proxy configuration
A description of what environments and projects the Relay Proxy should include or exclude. To learn more, read Write an inline policy.
Show child attributes
Relay auto config response
The ID of the Relay Proxy configuration
"12ab3c45de678910abc12345"
A human-friendly name for the Relay Proxy configuration
"Relay Proxy Demo Config"
A description of what environments and projects the Relay Proxy should include or exclude
Show child attributes
The last few characters of the Relay Proxy configuration key, displayed in the LaunchDarkly UI
"7f30"
Timestamp of when the Relay Proxy configuration was created
"1628001602644"
Timestamp of when the Relay Proxy configuration was most recently modified
"1628001602644"
Details on the member who created this Relay Proxy configuration
Show child attributes
Details on the allowed and denied actions for this Relay Proxy configuration
Show child attributes
The Relay Proxy configuration key
curl --request POST \
--url https://app.launchdarkly.com/api/v2/account/relay-auto-configs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sample Relay Proxy config for all proj and env",
"policy": [
{
"actions": [
"*"
],
"effect": "allow",
"resources": [
"proj/*:env/*"
]
}
]
}
'{
"_id": "12ab3c45de678910abc12345",
"name": "Relay Proxy Demo Config",
"policy": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"displayKey": "7f30",
"creationDate": "1628001602644",
"lastModified": "1628001602644",
"_creator": {
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"role": "admin",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
},
"fullKey": "<string>"
}