create-test-user
Create a test user which is an agent
This resource creates and returns a test user which is an agent. The caller can specify the required service enrolments in the request body. If no request body is supplied, the test user is created with no service enrolments. Test users that have not been tested against within a 3-month period will be automatically deleted.
post/create-test-user/agents
Request
- Base URLhttps://test-api.service.hmrc.gov.uk
- AuthOAuth 2Client credentialsToken URLhttps://test-api.service.hmrc.gov.uk/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
object required
Create Agent Request
Response
The agent test user resource has been created.
Changes
No recorded changes to this operation across all 1 revision of this API.