Skip to main content
POST
Attach Resend to environment

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

environment
string
required

The environment identifier

Body

application/json
from_address
string<email>
required
from_name
string
required
Maximum string length: 255
key_strategy
enum<string> | null
Available options:
create,
reuse,
null
key_name
string | null
Maximum string length: 255
reuse_key_id
string | null

Response

EnvironmentResource

data
EnvironmentResource · object
required
included
(ApplicationResource · object | BranchResource · object | DeploymentResource · object | DomainResource · object | InstanceResource · object | DatabaseSchemaResource · object | CacheResource · object | FilesystemResource · object | WebsocketApplicationResource · object | SecretResource · object)[]