MCPcopy
hub / github.com/harness/harness / UpdateUserAdmin

Function UpdateUserAdmin

web/src/cde-gitness/services/index.tsx:1687–1694  ·  view source on GitHub ↗
({ user_uid, ...props }: UpdateUserAdminProps)

Source from the content-addressed store, hash-verified

1685 UpdateUserAdminPathParams
1686
1687export const UpdateUserAdmin = ({ user_uid, ...props }: UpdateUserAdminProps) => (
1688 <Mutate<TypesUser, UsererrorError, void, OpenapiUpdateAdminRequest, UpdateUserAdminPathParams>
1689 verb="PATCH"
1690 path={`/admin/users/${user_uid}/admin`}
1691 base={getConfig('api/v1')}
1692 {...props}
1693 />
1694)
1695
1696export type UseUpdateUserAdminProps = Omit<
1697 UseMutateProps<TypesUser, UsererrorError, void, OpenapiUpdateAdminRequest, UpdateUserAdminPathParams>,

Callers

nothing calls this directly

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…