Skip to main content
POST
/
api
/
integrations
/
incidentManagement
/
updateSlackIntegrationV2
Update Slack Integration V2
curl --request POST \
  --url https://api2.rhombussystems.com/api/integrations/incidentManagement/updateSlackIntegrationV2 \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "requestUrl": "https://slack.com/oauth/v2/authorize?client_id=123&scope=...",
  "adminRequest": true,
  "revokeUserAccessToken": false,
  "rhombusOrgUserUuid": "user-uuid-12345",
  "slackSettingsV2": {
    "channelId": "<string>",
    "channelName": "<string>",
    "code": "<string>",
    "enabled": true,
    "enabledTimestampMs": 123,
    "enablingUser": "<string>",
    "enablingUserUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "orgAccessToken": "<string>",
    "sendChannelNotifications": true,
    "sendUserNotifications": true,
    "userMap": {},
    "webhookUrl": "<string>"
  },
  "userAssociate": true,
  "userRequest": false
}
'
{
  "authError": false,
  "error": true,
  "errorMsg": "<string>",
  "failedGuids": [
    "<string>"
  ],
  "misconfiguredDoors": [
    "<string>"
  ],
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for updating Slack integration V2 settings with enhanced user management.

requestUrl
string | null
required

Request URL for Slack OAuth

Example:

"https://slack.com/oauth/v2/authorize?client_id=123&scope=..."

adminRequest
boolean | null

Whether this is an admin request

Example:

true

revokeUserAccessToken
boolean | null

Whether to revoke user access token

Example:

false

rhombusOrgUserUuid
string | null

Rhombus organization user UUID

Example:

"user-uuid-12345"

slackSettingsV2
object
userAssociate
boolean | null

Whether to associate user

Example:

true

userRequest
boolean | null

Whether this is a user request

Example:

false

Response

200 - application/json

OK

Response object for updating organization integrations.

authError
boolean | null

Whether an authentication error occurred during update

Example:

false

error
boolean | null
errorMsg
string | null
failedGuids
(string | null)[] | null

List of GUIDs that failed to update

List of GUIDs that failed to update

misconfiguredDoors
(string | null)[] | null

List of door names that are assigned to multiple Rhombus locations

List of door names that are assigned to multiple Rhombus locations

warningMsg
string | null