Update HMRC Settings
Replaces the tenant's HMRC settings. A null password keeps the stored one; with useSharedCredentials the tenant's own sender id, password and agent are discarded. The UTR is validated (400).
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The tenant code (the organisation's URL stub) |
The tenant code (the organisation's URL stub) |
||
Request Body*
{
"useSharedCredentials": false,
"sharedCredentialsId": "00000000-0000-0000-0000-000000000000",
"senderType": "ActingInCapacity",
"senderId": "string",
"password": "string",
"testInLive": false,
"useTestGateway": false
}
Responses
200 OK
401 Unauthorized – Invalid or missing API key