Skip to main content
PATCH
/
v1
/
emails
/
{id}
Update an email's address
curl --request PATCH \
  --url https://api.scribe-mail.com/v1/emails/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": {
    "address": "<string>"
  }
}
'
{
  "data": {
    "id": "<string>",
    "address": "<string>",
    "primary": true,
    "teammate_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
email
object
required

Response

Updated

data
object
required