const url = 'https://example.com/api/v1/org/example/integrations/slack';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
const response = await fetch(url, options);
const data = await response.json();
--url https://example.com/api/v1/org/example/integrations/slack \
--header 'Authorization: Bearer <token>'
Close the Slack connection.
Requires the organization owner role. Sessions, transcripts, thread
bindings, and the people list are kept.
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"
Media type application/json
APIErrorPayloadCanonical API error envelope returned by the API.
object
Codeinteger
Allowed values: 400 401 403 404 409 422 426 429 500 502 504
DetailHuman-readable error message
string
errors
Any of:
Array<object>
ValidationErrorItem object
LocWhere the validation error occurred
Array
MsgHuman-readable validation message
string
TypeMachine-readable validation error type
string
TypeStable machine-readable error type
string
Allowed values: already_exists_error app_error authentication_error conflict_error aws_error configuration_error database_error dynamodb_error e2b_error e2b_rate_limit_error expired_signature_error expired_token_error forbidden_error group_error invalid_error invalid_flag_error invalid_username_error mail_error member_exists_error member_limit_exceeded_error migration_lock_timeout_error not_found_error oauth_config_error org_sandbox_capacity_exceeded_error bad_gateway_error gateway_timeout_error s3_error server_error task_error stripe_error task_set_not_found token_error upgrade_required_error usage_limit_exceeded_error user_suspended user_verification_error validation_error
Example
"detail": "Authentication failed",
"type": "authentication_error"