Delete a company
POST /api/companies/search
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
pageNumberintegerRequiredExample:
1pageSizeintegerRequiredExample:
10orderBystringRequiredExample:
CreateTimeascendingbooleanRequiredExample:
falseisTargetUserCountExceededLimitbooleanOptionalExample:
If true, only companies exceeding license limit are returned
falseResponses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/companies/search200
OK
DELETE /api/companies/{resourceId}
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Path parameters
resourceIdstringRequired
Responses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
delete
/api/companies/{resourceId}200
OK
Common errors
Last updated