circle-info
Squadcast is now SolarWinds Incident Response

Squads

Get All Squads

get
/v4/squads

This endpoint is used to get all the squads details of your organization. Requires access_token as a Bearer {{token}} in the Authorization header with squad-read scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
owner_idstringRequired
Responses
chevron-right
200

The request has succeeded.

application/json
get
/v4/squads

Create Squad

post
/v4/squads

This endpoint is used to create a new squad. The role will be considered only if your organization is on the OBAC permission model; otherwise, the role field will be ignored, and only the member will be added to the squad.

Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
owner_idstringRequired
namestringRequired
Responses
post
/v4/squads

Get Squad By ID

get
/v4/squads/{squadID}

This endpoint is used to get the squads details by id. Requires access_token as a Bearer {{token}} in the Authorization header with squad-read scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
Responses
chevron-right
200

The request has succeeded.

application/json
get
/v4/squads/{squadID}

Update Squad

put
/v4/squads/{squadID}

This endpoint is used to update squad.

The role will be considered only if your organization is on the OBAC permission model; otherwise, the role field will be ignored, and only the member will be added to the squad. Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
Body
namestringOptional
Responses
chevron-right
200

The request has succeeded.

application/json
put
/v4/squads/{squadID}

Delete Squad

delete
/v4/squads/{squadID}

This endpoint is used to delete the squad. Squad should not be assigned to any incident or part of any escalation policy. Requires access_token as a Bearer {{token}} in the Authorization header with squad-update scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
Responses
delete
/v4/squads/{squadID}

Update Squad Member

put
/v4/squads/{squadID}/members/{memberID}

This endpoint is used to update a squad member's role and is only accessible if your organization is using the OBAC permission model.

If you're attempting to update a member's role from 'owner' to 'member', and that 'owner' is the last squad owner, then the 'replaceWith' query parameter is required. Setting 'replaceWith' to 'member' will promote the member to the role of owner.

Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
memberIDstringRequired
Query parameters
replaceWithstringRequired
Body
rolestringRequired
Responses
put
/v4/squads/{squadID}/members/{memberID}

Remove Squad Member

delete
/v4/squads/{squadID}/members/{memberID}

This endpoint is used to update squad member's role.

If you're attempting to remove a member whose role is 'owner', and that 'owner' is the last squad owner, then the 'replaceWith' query parameter is required. Setting 'replaceWith' to 'member' will promote another member as the owner, and the specified member will be removed.

Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
memberIDstringRequired
Query parameters
replaceWithstringRequired
Responses
chevron-right
200

The request has succeeded.

application/json
idstringRequired
delete
/v4/squads/{squadID}/members/{memberID}

Update Squad Name

put
/v4/squads/{squadID}/name

This endpoint is used to update squad's name. Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
squadIDstringRequired
Body
namestringRequired
Responses
chevron-right
200

The request has succeeded.

application/json
put
/v4/squads/{squadID}/name

Last updated