Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Update HmrcAgentCredential

PUT /tenants/{tenant}/hmrc-credentials/{code}

Updates a HmrcAgentCredential for the specified tenant.

Requires: Update on PracticeDetails.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "name": "string",
  "agentReferenceNumber": "string",
  "saAgentCode": "string",
  "payeAgentCode": "string",
  "ctAgentCode": "string"
}

Responses

400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
application/problem+json