IamV1ApiKey

Update a specific Key.

post/v1/Keys/{Sid}

Request

  • Base URL
    https://iam.twilio.com
  • URL
    https://iam.twilio.com/v1/Keys/{Sid}
  • Auth
    HTTP basic

Path parameters

Sidstring required

The Twilio-provided string that uniquely identifies the Key resource to update.

Request body application/x-www-form-urlencoded

FriendlyNamestring

A descriptive string that you create to describe the resource. It can be up to 64 characters long.

Policyunknown

Response

OK

sidstring nullable

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

friendly_namestring nullable

The string that you assigned to describe the resource.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

policyobject nullable

The `Policy` object is a collection that specifies the allowed Twilio permissions for the restricted key. For more information on the permissions available with restricted API keys, refer to the Twilio documentation.

Changes