Update API key for a subaccountCopy Pageput https://api-sandbox.asaas.com/v3/accounts/{id}/accessTokens/{accessTokenId}Required permission: SUB_ACCOUNT:WRITEPath ParamsidstringrequiredUnique subaccount identifier in AsaasaccessTokenIdstringrequiredAPI key IDBody ParamsnamestringrequiredAPI key nameenabledbooleanrequiredIndicates whether the API key is enabledtruetruefalseexpirationDatedate-timerequiredAPI key expiration dateResponses 200Ok 400Bad Request 401Unauthorized 404Not foundUpdated 3 months ago