GuidesAPI ReferenceChangelogAPI StatusAPI PolicyGusto Security
API Reference

Suspend a company's account

Use this endpoint to suspend a company. After suspension, company will no longer be able to run payroll but will retain access to their information, such as retrieving employee info or retrieving past payrolls.

scope: company_suspensions:write

Path Params
string
required

The UUID of the company

Body Params
boolean
required

Should Gusto file quarterly tax forms on behalf of the company? The correct answer can depend on why the company is suspending their account, and how taxes are being reconciled.

boolean
required

Should Gusto file yearly tax forms on behalf of the company? The correct answer can depend on why the company is suspending their account, and how taxes are being reconciled.

string
enum
required

How Gusto will handle taxes already collected.

Allowed:
string

User-supplied comments describing why they are suspending their account. Required if the user is leaving for another provider and selects "other" instead of a defined provider.

string
enum
required

Explanation for why the company is suspending their account.

FEIN or entity type changes require Customer Support

If a company is switching FEIN or changing their entity type, this change must be performed by Gusto Customer Support and cannot be performed via the API at this time.

Allowed:
string
enum

The competitor the company is switching to. Required if reason is 'switching_provider'.

Switching to Gusto requires Customer Support

If 'gusto_com' is selected, this change must be completed by Gusto Customer Support and cannot be performed via the API. This endpoint will return a 422 error in that case.

Headers
string
enum
Defaults to 2026-02-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json