ServerlessV1Asset

Create a new Asset resource.

Changed on

Create a new Asset resource.

post/v1/Services/{ServiceSid}/Assets

Request

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

Path parameters

ServiceSidstring required

The SID of the Service to create the Asset resource under.

Request body application/x-www-form-urlencoded

FriendlyNamestring required

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

Response

Created

sidstring nullable

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

account_sidstring nullable

The SID of the Account that created the Asset resource.

service_sidstring nullable

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

friendly_namestring nullable

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

date_createdstring date-time nullable

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

date_updatedstring date-time nullable

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

urlstring uri nullable

The absolute URL of the Asset resource.

linksobject nullable

The URLs of the Asset resource's nested resources.

Changes