# Consents

Manage consent requests and consents. These APIs allow third party clients to request consent from app users. They also allow users to grant consent requests, view all consents related to their account, and revoke any granted permissions.


## Servers

[object Object]
```
https://api.transmitsecurity.io/cis
```

Production environment (EU)
```
https://api.eu.transmitsecurity.io/cis
```

Production environment (CA)
```
https://api.ca.transmitsecurity.io/cis
```

## Security

### bearer

Type: http
Scheme: bearer
Bearer Format: JWT

### UserAccessToken

A token returned upon end-user authentication, which provides access to resources and data for the user and app for which it was generated

Type: http
Scheme: bearer
Bearer Format: JWT

### AdminAccessToken

[object Object]

Type: oauth2
Token URL: /oidc/token
Scopes:

### ClientAccessToken

[object Object]

Type: oauth2
Token URL: /oidc/token
Scopes:

### OrgAdminAccessToken

A token returned upon B2B authentication for a user that has the organizationAdmin or organizationCreator role.

Type: oauth2
Token URL: /oidc/token
Scopes:

## Download OpenAPI description

 - [Consents](https://developer.transmitsecurity.com/_bundle/openapi/user/consents.openapi.yaml)

 - [GET /v1/consents](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/getallconsents.md): Retrieve all consents. **Required permissions**: `apps:read`, `[appId]:read`, `consents:read`.
 - [GET /v1/consents/{consentId}](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/getconsent.md): Retrieve a consent by ID. **Required permissions**: `apps:read`, `[appId]:read`, `consents:read`.
 - [DELETE /v1/consents/clients/{clientId}/users/{userId}](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/deleteappconsents.md): Delete consents by user ID. If no consent ID is provided, all consents for the user are deleted. **Required permissions**: `apps:delete`, `[appId]:delete`, `consents:delete`.
 - [GET /v1/manage/consents](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/getallappconsents.md): Retrieve all consents for an app. **Required permissions**: `apps:read`, `[appId]:read`, `consents:read`.
 - [DELETE /v1/manage/consents/clients/{clientId}/users/{userId}](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/deleteclientconsents.md): Delete consents by client ID. If no consent ID is provided, all consents for the client are deleted. **Required permissions**: `apps:delete`, `[appId]:delete`, `consents:delete`.
 - [GET /v1/consents/me](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/getalluserconsents.md): Get all consents for current user
 - [DELETE /v1/consents/me/clients/{clientId}](https://developer.transmitsecurity.com/openapi/user/consents.openapi/other/deleteuserconsents.md): Revoke a consent by ID for current user.
