Update identity

post/v1/senderIdentities/update

Updates the name of the existing sender identity. Should provide the email address of the sender identity for this.

Code snippet

curl -X 'POST' \
  'https://api.boldsign.com/v1/senderIdentities/update?email=luthercooper%40cubeflakes.com' \
      -H 'accept: */*' \
      -H 'X-API-KEY: {your API key}' \
      -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
      -d '{
          "name": "Luther"
        }'
            var apiClient = new ApiClient("https://api.boldsign.com", "{your API key}");
            var senderIdentityClient = new SenderIdentityClient(apiClient);
            var senderIdentityRequest = new SenderIdentityRequest("Luther", "luthercooper@cubeflakes.com");
            senderIdentityClient.UpdateSenderIdentity(senderIdentityRequest);
import requests
url = "https://api.boldsign.com/v1/senderIdentities/update?email=luthercooper%40cubeflakes.com"
payload = "{ \"name\": \"Luther\" }"
headers = {
'accept': '*/*',
'X-API-KEY': '{your API key}',
'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios');
const response = await axios.post(
'https://api.boldsign.com/v1/senderIdentities/update',
// '{\n  "name": "Luther"\n}',
{
'name': 'Luther'
},
{
params: {
'email': 'luthercooper@cubeflakes.com'
},
headers: {
'accept': '*/*',
'X-API-KEY': '{your API key}',
'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true'
}
}
);

Query parameters

FieldDataType
emailStringRequiredEmail address of the sender identity.

Request body

FieldDataType
nameStringRequiredName of the sender identity.

Example response

204 No content