@ory/client
Version:
OpenAPI client for @ory/client
28 lines (20 loc) • 1.7 kB
Markdown
Response for a single identity patch
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | **string** | The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. | [optional] [default to undefined]
**error** | **any** | From https://go.dev/wiki/CodeReviewComments#receiver-type: > Can function or methods, either concurrently or when called from this method, be mutating the receiver? A value type creates a copy of the receiver when the method is invoked, so outside updates will not be applied to this receiver. If changes must be visible in the original receiver, the receiver must be a pointer. > If the receiver is a struct, array or slice and any of its elements is a pointer to something that might be mutating, > prefer a pointer receiver, as it will make the intention clearer to the reader. > Don’t mix receiver types. Choose either pointers or struct types for all available methods. | [optional] [default to undefined]
**identity** | **string** | The identity ID payload of this patch | [optional] [default to undefined]
**patch_id** | **string** | The ID of this patch response, if an ID was specified in the patch. | [optional] [default to undefined]
```typescript
import { IdentityPatchResponse } from '@ory/client';
const instance: IdentityPatchResponse = {
action,
error,
identity,
patch_id,
};
```
[[Back to Model list]](../README.md