Create HmrcAgentCredential

POST /tenants/{tenant}/hmrc-credentials

Creates a new HmrcAgentCredential for the specified tenant.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "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
application/problem+json