Admin

Admin Apps Restrict

POST
/admin.apps.restrict

Restrict an app for installation on a workspace.

Authorization

slackAuth admin.apps:write
AuthorizationBearer <token>

In: header

Scope: admin.apps:write

Header Parameters

token*string

Authentication token. Requires scope: admin.apps:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

app_id?string

The id of the app to restrict.

request_id?string

The id of the request to restrict.

team_id?string

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.apps.restrict" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "ok": "True"}