Loading...
Sign in to see the examples with your own API key.

Rename subscription

Sets what the subscription is called in your console and in the emails we send about it. Requires your administration key — the subscription renamed is the one the key belongs to.

Only the name you see changes. The subscription's API key, admin key, domain tokens and usage all stay as they are, so nothing you have deployed needs touching.

Names are unique on your account, ignoring case, and up to 50 characters. Send a blank label to go back to the name the subscription was bought with.

Request

PUT https://api.getaddress.io/subscription/label?api-key={your-admin-key}    

Body

{
    "label": "Main site"
}

Response

{
    "name": "500-per-day",
    "label": "Main site"
}

name never changes. label is what the subscription is now called.

A label another subscription on your account already has is refused with 400.

Top