Skip to the page

Rename audience

Gives an audience another name. Its contacts and its broadcasts stay as they are.

PATCH/v1/audiences/{id}
Needs the scopeaudiences:write

Path parameters

  • idstringRequired

    The id of the item. Up to 64 characters.

Body parameters

  • namestringRequired

    The new name of the audience. Up to 120 characters.

Returns

  • object"audience"

    Always audience.

  • idstring

    The id of the audience.

  • namestring

    The name of the audience.

  • contactsinteger

    How many contacts are in it.

  • subscribedinteger

    How many of them are subscribed.

  • unsubscribedinteger

    How many of them have unsubscribed.

  • createdAtstring

    When the audience was made.