ServerlessV1Function

Update a specific Function resource.

Changed on

Update a specific Function resource.

post/v1/Services/{ServiceSid}/Functions/{Sid}

Request

  • Base URL
    https://serverless.twilio.com
  • URL
    https://serverless.twilio.com/v1/Services/{ServiceSid}/Functions/{Sid}
  • Auth
    HTTP basic

Path parameters

ServiceSidstring required

The SID of the Service to update the Function resource from.

Sidstring required

The SID of the Function resource to update.

Request body application/x-www-form-urlencoded

FriendlyNamestring required

A descriptive string that you create to describe the Function resource. It can be a maximum of 255 characters.

Response

OK

sidstring nullable

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

account_sidstring nullable

The SID of the Account that created the Function resource.

service_sidstring nullable

The SID of the Service that the Function resource is associated with.

friendly_namestring nullable

The string that you assigned to describe the Function resource. It can be a maximum of 255 characters.

date_createdstring date-time nullable

The date and time in GMT when the Function resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the Function resource was last updated specified in ISO 8601 format.

urlstring uri nullable

The absolute URL of the Function resource.

linksobject nullable

The URLs of nested resources of the Function resource.

Changes