diff --git a/specification/playwrighttesting/PlaywrightTesting/examples/2023-10-01-preview/AccessTokens_CreateAccessToken.json b/specification/playwrighttesting/PlaywrightTesting/examples/2023-10-01-preview/AccessTokens_CreateAccessToken.json index 4dae14d2a4ce..17f6fd010929 100644 --- a/specification/playwrighttesting/PlaywrightTesting/examples/2023-10-01-preview/AccessTokens_CreateAccessToken.json +++ b/specification/playwrighttesting/PlaywrightTesting/examples/2023-10-01-preview/AccessTokens_CreateAccessToken.json @@ -8,9 +8,7 @@ "resource": { "id": "00000000-0000-0000-0000-000000000000", "name": "sampleAccessToken", - "createdAt": "2021-09-28T12:32:33Z", - "expiryAt": "2022-09-28T12:32:33Z", - "state": "Active" + "expiryAt": "2022-09-28T12:32:33Z" } }, "responses": { diff --git a/specification/playwrighttesting/PlaywrightTesting/main.tsp b/specification/playwrighttesting/PlaywrightTesting/main.tsp index 83e6a43c7eb6..892de0eb4d47 100644 --- a/specification/playwrighttesting/PlaywrightTesting/main.tsp +++ b/specification/playwrighttesting/PlaywrightTesting/main.tsp @@ -142,7 +142,7 @@ model AccessToken { @doc("The access-token createdAt utcDateTime.") @visibility("read") - createdAt: utcDateTime; + createdAt?: utcDateTime; @doc("The access-token expiryAt utcDateTime.") @visibility("read", "create") @@ -150,7 +150,7 @@ model AccessToken { @doc("The access-token state - Active | Expired.") @visibility("read") - state: AccessTokenState; + state?: AccessTokenState; } @doc("The access-token state.") diff --git a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/examples/AccessTokens_CreateAccessToken.json b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/examples/AccessTokens_CreateAccessToken.json index 4dae14d2a4ce..17f6fd010929 100644 --- a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/examples/AccessTokens_CreateAccessToken.json +++ b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/examples/AccessTokens_CreateAccessToken.json @@ -8,9 +8,7 @@ "resource": { "id": "00000000-0000-0000-0000-000000000000", "name": "sampleAccessToken", - "createdAt": "2021-09-28T12:32:33Z", - "expiryAt": "2022-09-28T12:32:33Z", - "state": "Active" + "expiryAt": "2022-09-28T12:32:33Z" } }, "responses": { diff --git a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/playwrighttesting.json b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/playwrighttesting.json index 4771a7f761a2..d967a0c68ef4 100644 --- a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/playwrighttesting.json +++ b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/preview/2023-10-01-preview/playwrighttesting.json @@ -396,9 +396,7 @@ "required": [ "id", "name", - "createdAt", - "expiryAt", - "state" + "expiryAt" ] }, "AccessTokenState": {