Parameter | Description |
---|---|
Access Token TTL | The access token time to live for your app, in seconds. It only affects the newly generated access tokens, existing access token will continue to have their previous time to live as expiration. |
Context | Allow installing the app to a org/group or to a user, default tenant. |
Name | New name of the app to display to users during authorization flow. |
Organization ID | Unique identifier for an organization. |
Redirect URIs | List of allowed redirect URIs to call back after authentication. |
Scopes | The scopes this app is allowed to request during authorization. |
{
"jsonapi": {
"version": "1.0"
},
"links": {
"self": "https://api.snyk.io/rest/orgs/bdac969a-d4c0-4b3a-905a-8bf7737f8fa8/apps/fe2ee23e-3683-473f-ab5c-e2550de639ba?version=2022-03-11"
},
"data": {
"id": "04a420e6-b2b6-4d05-afee-6d86b5a5b09f",
"type": "app",
"attributes": {
"org_public_id": "bdac969a-d4c0-4b3a-905a-8bf7737f8fa8",
"name": "testapp",
"client_id": "fe2ee23e-3683-473f-ab5c-e2550de639ba",
"client_secret": "snyk_cs_toH64JsBOdnnS1_M_HoLVsx4puVHZw1tC5XcbSXF_iY__v1",
"redirect_uris": [
"https://sso-app.dev.example.com"
],
"scopes": [
"org.read"
],
"access_token_ttl_seconds": 3600,
"is_public": false,
"context": "tenant",
"is_confidential": true
}
}
}
Was this page helpful?