Update request managed cert

POST /v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert

Path parameters

  • DomainSid string Required

    Unique string used to identify the domain that this certificate should be associated with.

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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • domain_sid string | null

      The unique string that we created to identify the Domain resource.

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

    • date_updated string(date-time) | null

      Date that this Domain was last updated.

    • date_created string(date-time) | null

      Date that this Domain was registered to the Twilio platform to create a new Domain object.

    • date_expires string(date-time) | null

      Date that the private certificate associated with this domain expires. This is the expiration date of your existing cert.

    • domain_name string(uri) | null

      Full url path for this domain.

    • certificate_sid string | null

      The unique string that we created to identify this Certificate resource.

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

    • url string(uri) | null
    • managed boolean | null

      A boolean flag indicating if the certificate is managed by Twilio.

    • requesting boolean | null

      A boolean flag indicating if a managed certificate needs to be fulfilled by Twilio.

  • 201 application/json

    Created

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • domain_sid string | null

      The unique string that we created to identify the Domain resource.

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

    • date_updated string(date-time) | null

      Date that this Domain was last updated.

    • date_created string(date-time) | null

      Date that this Domain was registered to the Twilio platform to create a new Domain object.

    • date_expires string(date-time) | null

      Date that the private certificate associated with this domain expires. This is the expiration date of your existing cert.

    • domain_name string(uri) | null

      Full url path for this domain.

    • certificate_sid string | null

      The unique string that we created to identify this Certificate resource.

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

    • url string(uri) | null
    • managed boolean | null

      A boolean flag indicating if the certificate is managed by Twilio.

    • requesting boolean | null

      A boolean flag indicating if a managed certificate needs to be fulfilled by Twilio.

POST /v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert
curl \
 --request POST 'https://messaging.twilio.com/v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert' \
 --user "username:password"
Response examples (200)
{
  "url": "https://messaging.twilio.com/v1/LinkShortening/Domains/DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RequestManagedCert",
  "managed": true,
  "domain_sid": "DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "requesting": true,
  "domain_name": "https://api.example.com",
  "date_created": "2021-02-06T18:02:04Z",
  "date_expires": "2021-02-06T18:02:04Z",
  "date_updated": "2021-02-06T18:02:04Z",
  "certificate_sid": "CWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
Response examples (201)
{
  "url": "https://messaging.twilio.com/v1/LinkShortening/Domains/DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RequestManagedCert",
  "managed": true,
  "domain_sid": "DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "requesting": true,
  "domain_name": "https://api.example.com",
  "date_created": "2021-02-06T18:02:04Z",
  "date_expires": null,
  "date_updated": "2021-02-06T18:02:04Z",
  "certificate_sid": "CWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}