---
title: "Authorization"
description: "Authorization"
url: "https://www.contentstack.com/docs/developers/sdks/marketplace-sdk/javascript/reference/authorization"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-13"
---

# Authorization

## Authorization

The authorization class defines the auth related queries of an app.

**Example:**

```
import * as contentstack from '@contentstack/marketplace-sdk'const client = contentstack.client({ authtoken: 'TOKEN'});client.marketplace('organization_uid').app('manifest_uid').authorization();
```

## findAll

The findAll method retrieves the requests of all authorized apps in a particular organization.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});

client.marketplace('organization_uid').app('manifest_uid').authorization().findAll({ skip: 10, limit: 10, order: 'asc' })
.then((response) => console.log(response));
```

Offset for skipping content in response

Limit on API response to provide content in the list

Specify the order in which the apps should appear in the response, either ascending or descending.

The order in which apps are sorted.

String for search by app name

## revokeAll

Revoke all users tokens issued to an authorized app for the particular organization.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});

client.marketplace('organization_uid').app('manifest_uid').authorization().revokeAll()
.then((response) => console.log(response));
```

## revoke

Revoke user token issued to an authorized app for the particular organization.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});

client.marketplace('organization_uid').app('manifest_uid').authorization().revoke('authorization_uid')
.then((response) => console.log(response));
```

## Authorization | JavaScript Marketplace SDK | Contentstack

Authorization defines the authorization-related queries for an app in the Contentstack JavaScript Marketplace SDK.