@workos/openapi-spec 0.120.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/open-api-spec.yaml +22 -0
- package/dist/types.d.ts +21 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -21581,6 +21581,28 @@ paths:
|
|
|
21581
21581
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
21582
21582
|
required:
|
|
21583
21583
|
- message
|
|
21584
|
+
'422':
|
|
21585
|
+
description: Unprocessable Entity
|
|
21586
|
+
content:
|
|
21587
|
+
application/json:
|
|
21588
|
+
schema:
|
|
21589
|
+
type: object
|
|
21590
|
+
properties:
|
|
21591
|
+
message:
|
|
21592
|
+
type: string
|
|
21593
|
+
description: A human-readable description of the error.
|
|
21594
|
+
example: >-
|
|
21595
|
+
This organization membership is managed by a directory and
|
|
21596
|
+
cannot be deleted. Remove the user from the directory in
|
|
21597
|
+
the identity provider instead.
|
|
21598
|
+
code:
|
|
21599
|
+
type: string
|
|
21600
|
+
description: The error code identifying the type of error.
|
|
21601
|
+
example: organization_membership_directory_managed
|
|
21602
|
+
const: organization_membership_directory_managed
|
|
21603
|
+
required:
|
|
21604
|
+
- message
|
|
21605
|
+
- code
|
|
21584
21606
|
summary: Delete an organization membership
|
|
21585
21607
|
tags:
|
|
21586
21608
|
- user-management.organization-membership
|
package/dist/types.d.ts
CHANGED
|
@@ -39287,6 +39287,27 @@ export interface operations {
|
|
|
39287
39287
|
};
|
|
39288
39288
|
};
|
|
39289
39289
|
};
|
|
39290
|
+
/** @description Unprocessable Entity */
|
|
39291
|
+
422: {
|
|
39292
|
+
headers: {
|
|
39293
|
+
[name: string]: unknown;
|
|
39294
|
+
};
|
|
39295
|
+
content: {
|
|
39296
|
+
"application/json": {
|
|
39297
|
+
/**
|
|
39298
|
+
* @description A human-readable description of the error.
|
|
39299
|
+
* @example This organization membership is managed by a directory and cannot be deleted. Remove the user from the directory in the identity provider instead.
|
|
39300
|
+
*/
|
|
39301
|
+
message: string;
|
|
39302
|
+
/**
|
|
39303
|
+
* @description The error code identifying the type of error.
|
|
39304
|
+
* @example organization_membership_directory_managed
|
|
39305
|
+
* @constant
|
|
39306
|
+
*/
|
|
39307
|
+
code: "organization_membership_directory_managed";
|
|
39308
|
+
};
|
|
39309
|
+
};
|
|
39310
|
+
};
|
|
39290
39311
|
};
|
|
39291
39312
|
};
|
|
39292
39313
|
UserlandUserOrganizationMembershipsController_deactivate: {
|