All URIs are relative to https://api.brevo.com/v3
Method | HTTP request | Description |
---|---|---|
AuthenticateDomain | Put /senders/domains/{domainName}/authenticate | Authenticate a domain |
CreateDomain | Post /senders/domains | Create a new domain |
DeleteDomain | Delete /senders/domains/{domainName} | Delete a domain |
GetDomainConfiguration | Get /senders/domains/{domainName} | Validate domain configuration |
GetDomains | Get /senders/domains | Get the list of all your domains |
AuthenticateDomainModel AuthenticateDomain(ctx, domainName) Authenticate a domain
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
domainName | string | Domain name |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateDomainModel CreateDomain(ctx, optional) Create a new domain
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *CreateDomainOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateDomainOpts struct
Name | Type | Description | Notes |
---|---|---|---|
domainName | optional.Interface of CreateDomain | domain's name |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteDomain(ctx, domainName) Delete a domain
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
domainName | string | Domain name |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetDomainConfigurationModel GetDomainConfiguration(ctx, domainName) Validate domain configuration
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
domainName | string | Domain name |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetDomainsList GetDomains(ctx, ) Get the list of all your domains
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]