Update Credential
Authorization
accountSid_authToken In: header
Path Parameters
The Twilio-provided string that uniquely identifies the Credential resource to update.
^CR[0-9a-fA-F]{32}$34 <= length <= 34Request Body
application/x-www-form-urlencoded
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
[APN only] The URL-encoded representation of the certificate. Strip everything outside of the headers, e.g. -----BEGIN CERTIFICATE-----MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV.....A==-----END CERTIFICATE-----
[APN only] The URL-encoded representation of the private key. Strip everything outside of the headers, e.g. -----BEGIN RSA PRIVATE KEY-----MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fGgvCI1l9s+cmBY3WIz+cUDqmxiieR\n.-----END RSA PRIVATE KEY-----
[APN only] Whether to send the credential to sandbox APNs. Can be true to send to sandbox APNs or false to send to production.
[GCM only] The Server key of your project from Firebase console under Settings / Cloud messaging.
[FCM only] The Server key of your project from Firebase console under Settings / Cloud messaging.
Response Body
application/json
curl -X POST "https://example.com/v1/Credentials/stringstringstringstringstringstri" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'FriendlyName=Test+slow+create'{ "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "friendly_name": "Test slow create", "type": "apn", "sandbox": "False", "date_created": "2015-10-07T17:50:01Z", "date_updated": "2015-10-07T17:50:01Z", "url": "https://notify.twilio.com/v1/Credentials/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}