REST Resource: asps
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Asp
An application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the help center.
JSON representation |
{
"codeId": integer,
"name": string,
"creationTime": string,
"lastTimeUsed": string,
"userKey": string,
"kind": string,
"etag": string
} |
Fields |
codeId |
integer
The unique ID of the ASP.
|
name |
string
The name of the application that the user, represented by their userId , entered when the ASP was created.
|
creationTime |
string (int64 format)
The time when the ASP was created. Expressed in Unix time format.
|
lastTimeUsed |
string (int64 format)
The time when the ASP was last used. Expressed in Unix time format.
|
userKey |
string
The unique ID of the user who issued the ASP.
|
kind |
string
The type of the API resource. This is always admin#directory#asp .
|
etag |
string
ETag of the ASP.
|
Methods |
|
Deletes an ASP issued by a user. |
|
Gets information about an ASP issued by a user. |
|
Lists the ASPs issued by a user. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-25 UTC.
[null,null,["Last updated 2025-03-25 UTC."],[],[],null,["# REST Resource: asps\n\nResource: Asp\n-------------\n\nAn application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the [help center](https://support.google.com/a/answer/2537800#asp).\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"codeId\": integer, \"name\": string, \"creationTime\": string, \"lastTimeUsed\": string, \"userKey\": string, \"kind\": string, \"etag\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `codeId` | `integer` The unique ID of the ASP. |\n| `name` | `string` The name of the application that the user, represented by their `userId`, entered when the ASP was created. |\n| `creationTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. |\n| `lastTimeUsed` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. |\n| `userKey` | `string` The unique ID of the user who issued the ASP. |\n| `kind` | `string` The type of the API resource. This is always `admin#directory#asp`. |\n| `etag` | `string` ETag of the ASP. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------|-------------------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/asps/delete) | Deletes an ASP issued by a user. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/asps/get) | Gets information about an ASP issued by a user. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/asps/list) | Lists the ASPs issued by a user. |"]]