Delete linkshortening messaging service

DELETE /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}

Path parameters

  • DomainSid string Required

    The domain SID to dissociate from a messaging service. With URL shortening enabled, links in messages sent with the associated messaging service will be shortened to the provided domain

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^DN[0-9a-fA-F]{32}$.

  • MessagingServiceSid string Required

    A messaging service SID to dissociate from a domain. With URL shortening enabled, links in messages sent with the provided messaging service will be shortened to the associated domain

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^MG[0-9a-fA-F]{32}$.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}
curl \
 --request DELETE 'https://messaging.twilio.com/v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}' \
 --user "username:password"