provider Subusers API PATCH /subusers/{subuser_name}
@utdk/sendgrid /subusers/{subuser_name}
Enable/disable a subuser
**This endpoint allows you to enable or disable a subuser.**
subuser_name path required
string

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

patchSubusersSubuserName
PATCH/subusers/{subuser_name}
**This endpoint allows you to enable or disable a subuser.**

Parameters

required

Input

Whether or not this subuser is disabled. True means disabled, False means enabled.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.patchSubusersSubuserName()