Create config
Create logs uploader config.
Reseller configs support additional scoping fields (for_all_clients, clients).
for_all_clients covers all sub-clients only; for_all_resources covers the
reseller’s own tech-client only. The two flags can be combined to cover both.
Only for_all_clients ↔ clients and for_all_resources ↔ resources are
mutually exclusive.
Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Body
Reseller-specific scoping fields. for_all_clients (sub-clients only) and
for_all_resources (tech-client only) cover orthogonal scopes and can be
combined. Only for_all_clients ↔ clients and for_all_resources ↔ resources
are mutually exclusive.
Name of the config.
ID of the policy that should be assigned to given config.
ID of the target to which logs should be uploaded.
Enables or disables the config.
If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the resources field.
List of resource IDs to which the config should be applied.
If set to true, the config will be applied to all resources of every
sub-client under the reseller. Resources owned directly by the reseller's
own tech-client are not matched — use for_all_resources (additionally or
instead) to cover the tech-client's resources.
Mutually exclusive with clients.
List of sub-client IDs to which the config should be applied.
Mutually exclusive with for_all_clients.
Response
Successful.
Reseller-specific scoping fields. for_all_clients (sub-clients only) and
for_all_resources (tech-client only) cover orthogonal scopes and can be
combined. Only for_all_clients ↔ clients and for_all_resources ↔ resources
are mutually exclusive.
Client that owns the config.
Time when the config was created.
Time when the config was updated.
Enables or disables the config.
Name of the config.
ID of the policy that should be assigned to given config.
ID of the target to which logs should be uploaded.
If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the resources field.
List of resource IDs to which the config should be applied.
Validation status of the logs uploader config.
If set to true, the config will be applied to all resources of every
sub-client under the reseller. Resources owned directly by the reseller's
own tech-client are not matched — use for_all_resources (additionally or
instead) to cover the tech-client's resources.
Mutually exclusive with clients.
List of sub-client IDs to which the config should be applied.
Mutually exclusive with for_all_clients.