MCPcopy
hub / github.com/fastapi/full-stack-fastapi-template / createUser

Method createUser

frontend/src/client/sdk.gen.ts:270–280  ·  view source on GitHub ↗

* Create User * Create new user. * @param data The data for the request. * @param data.requestBody * @returns UserPublic Successful Response * @throws ApiError

(data: UsersCreateUserData)

Source from the content-addressed store, hash-verified

268 * @throws ApiError
269 */
270 public static createUser(data: UsersCreateUserData): CancelablePromise<UsersCreateUserResponse> {
271 return __request(OpenAPI, {
272 method: 'POST',
273 url: '/api/v1/users/',
274 body: data.requestBody,
275 mediaType: 'application/json',
276 errors: {
277 422: 'Validation Error'
278 }
279 });
280 }
281
282 /**
283 * Read User Me

Callers 2

AddUserFunction · 0.45
createUserFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected