v7

latestSwagger 2.0raw.githubusercontent.com2022-12-067889207.3 KB
Storage

Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.

patch/storage/{storage-account-name}/sas/{sas-definition-name}

Path parameters

storage-account-namestring required

The name of the storage account.

sas-definition-namestring required

The name of the SAS definition.

Query parameters

api-versionstring required

Client API version.

Request body

templateUristring

The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.

sasType'account' | 'service'

The type of SAS token the SAS definition will create.

validityPeriodstring

The validity period of SAS tokens created according to the SAS definition.

tagsobject

Application specific metadata in the form of key-value pairs.

Response

The updated SAS definition.

idstring

The SAS definition id.

sidstring

Storage account SAS definition secret id.

templateUristring

The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.

sasType'account' | 'service'

The type of SAS token the SAS definition will create.

validityPeriodstring

The validity period of SAS tokens created according to the SAS definition.

tagsobject

Application specific metadata in the form of key-value pairs