{"type":"api","title":"Revoke access to an app grant","meta":{"id":"/apps/pubhub/media/cisco-xdr-api-docs/f4e065ff5977829c89df289df08411f83205f526/86823e7b-d546-3381-a3cf-7fb6df49cf79","info":{"title":"IROH-OAuth2","description":"OAuth2/OpenID Connect Provider","contact":{"name":"Cisco Security Business Group -- Advanced Threat","email":"cisco-intel-api-support@cisco.com"},"license":{"name":"All Rights Reserved","url":"https://www.cisco.com"},"version":"1.0.107"},"security":[{"oAuth2":["integration:read","private-intel:read","profile:read","inspect:read","users:read","invite:read","enrich:read","oauth:read","response:read","global-intel:read","ao:read","playbook:read"]}],"tags":[{"name":"OAuth2","description":"OAuth2 Routes"},{"name":"Grants","description":"OAuth2 App Grants"},{"name":"DeviceGrant","description":"OAuth2 Device Grant routes"}],"x-parser-conf":{"serverConfig":"select","overview":{"markdownPath":"reference/oauth2/overview.md","uri":"oauth2-api-guide"},"disableAuthEditing":true,"exampleAsDefault":true,"oAuth2":{"clientId":"client-546e34fc-c6bf-4951-ac69-f6d7987a7814","clientSecret":"MYw4_E_tBdFwUwrX6WFYKVD5LQrG2k7XrJ5J046wWE0s1gAKCxJ8VA","proxyEnabled":false},"meta":{"useProxy":true}},"openapi":"3.0.1","servers":[{"url":"https://visibility.amp.cisco.com"}],"securitySchemes":{"oAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://visibility.amp.cisco.com/iroh/oauth2/token","scopes":{"telemetry":"Collect application data for analytics","integration:read":"Manage your modules","private-intel:read":"Access Private Intelligence","admin":"Provide admin privileges","cognitive":"Cognitive Integration","profile:read":"Get your profile information","inspect:read":"Extract Observables and data from text","asset":"Access and modify your assets","event":"Read IROH Events","feedback":"Submit Customer Feedback","sse":"SSE Integration. Manage your Devices.","registry":"Manage registry entries","users:read":"Manage users of your organization","investigation":"Perform threat analysis investigation","invite:read":"Invite users into your organization","casebook":"Access and modify your casebooks","playbook":"Access and modify your playbooks","orbital":"Orbital Integration.","enrich:read":"Query your configured modules for threat intelligence","oauth:read":"Manage OAuth2 Clients","vault":"Grants access to Module Vaults","response:read":"List and execute response actions using configured modules","notification":"Receive notifications from integrations","global-intel:read":"Access AMP Global Intelligence","webhook":"Manage your Webhooks","ao:read":"AO Integration."}}}}}},"spec":{"tags":["Grants"],"summary":"Revoke access to an app grant","description":"[required scopes](/iroh/doc/iroh-auth/#scopes): `oauth/app-grant:write`\n\n","parameters":[{"name":"client-id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"required":["client-id","client-name","client-uris","created-at","enabled?","scopes","scopes-descriptions","user-id"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"client-uris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"client-id":{"type":"string"},"approved-at":{"type":"string","format":"date-time"},"activated-at":{"type":"string","format":"date-time"},"client-description":{"type":"string"},"client-name":{"type":"string"},"user-id":{"type":"string"},"enabled?":{"type":"boolean"},"created-at":{"type":"string","format":"date-time"},"scopes-descriptions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"$$ref":"#/components/schemas/HumanizedOAuthApp"}},"application/x-yaml":{"schema":{"required":["client-id","client-name","client-uris","created-at","enabled?","scopes","scopes-descriptions","user-id"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"client-uris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"client-id":{"type":"string"},"approved-at":{"type":"string","format":"date-time"},"activated-at":{"type":"string","format":"date-time"},"client-description":{"type":"string"},"client-name":{"type":"string"},"user-id":{"type":"string"},"enabled?":{"type":"boolean"},"created-at":{"type":"string","format":"date-time"},"scopes-descriptions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"$$ref":"#/components/schemas/HumanizedOAuthApp"}},"application/edn":{"schema":{"required":["client-id","client-name","client-uris","created-at","enabled?","scopes","scopes-descriptions","user-id"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"client-uris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"client-id":{"type":"string"},"approved-at":{"type":"string","format":"date-time"},"activated-at":{"type":"string","format":"date-time"},"client-description":{"type":"string"},"client-name":{"type":"string"},"user-id":{"type":"string"},"enabled?":{"type":"boolean"},"created-at":{"type":"string","format":"date-time"},"scopes-descriptions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"$$ref":"#/components/schemas/HumanizedOAuthApp"}},"application/transit+json":{"schema":{"required":["client-id","client-name","client-uris","created-at","enabled?","scopes","scopes-descriptions","user-id"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"client-uris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"client-id":{"type":"string"},"approved-at":{"type":"string","format":"date-time"},"activated-at":{"type":"string","format":"date-time"},"client-description":{"type":"string"},"client-name":{"type":"string"},"user-id":{"type":"string"},"enabled?":{"type":"boolean"},"created-at":{"type":"string","format":"date-time"},"scopes-descriptions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"$$ref":"#/components/schemas/HumanizedOAuthApp"}},"application/transit+msgpack":{"schema":{"required":["client-id","client-name","client-uris","created-at","enabled?","scopes","scopes-descriptions","user-id"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"enabled-at":{"type":"string","format":"date-time"},"updated-at":{"type":"string","format":"date-time"},"blocked-at":{"type":"string","format":"date-time"},"client-uris":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"client-id":{"type":"string"},"approved-at":{"type":"string","format":"date-time"},"activated-at":{"type":"string","format":"date-time"},"client-description":{"type":"string"},"client-name":{"type":"string"},"user-id":{"type":"string"},"enabled?":{"type":"boolean"},"created-at":{"type":"string","format":"date-time"},"scopes-descriptions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"$$ref":"#/components/schemas/HumanizedOAuthApp"}}}}},"x-no-doc":false,"security":[{"oAuth2":["integration:read","private-intel:read","profile:read","inspect:read","users:read","invite:read","enrich:read","oauth:read","response:read","global-intel:read","ao:read","playbook:read"]}],"method":"delete","path":"/iroh/oauth2/app-grant/{client-id}"}}