Skip to content

Commit a863827

Browse files
committed
chore: bump version and update API spec
1 parent 5823160 commit a863827

File tree

2 files changed

+155
-10
lines changed

2 files changed

+155
-10
lines changed

kinde-mgmt-api-specs.yaml

Lines changed: 154 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,12 +2844,12 @@ paths:
28442844
security:
28452845
- kindeBearerAuth: []
28462846
/api/v1/organizations/{org_code}/properties/{property_key}:
2847-
patch:
2847+
put:
28482848
tags:
28492849
- Organizations
28502850
operationId: UpdateOrganizationProperty
2851-
description: Update property value.
2852-
summary: Update Property value
2851+
description: Update organization property value.
2852+
summary: Update Organization Property value
28532853
parameters:
28542854
- name: org_code
28552855
in: path
@@ -2901,7 +2901,7 @@ paths:
29012901
operationId: GetOrganizationPropertyValues
29022902
description: |
29032903
Gets properties for an organization by org code.
2904-
summary: Get property values
2904+
summary: Get Organization Property Values
29052905
parameters:
29062906
- name: org_code
29072907
in: path
@@ -2935,12 +2935,12 @@ paths:
29352935
description: Request was throttled.
29362936
security:
29372937
- kindeBearerAuth: []
2938-
put:
2938+
patch:
29392939
tags:
29402940
- Organizations
29412941
operationId: UpdateOrganizationProperties
2942-
description: Update property values.
2943-
summary: Update Property values
2942+
description: Update organization property values.
2943+
summary: Update Organization Property values
29442944
parameters:
29452945
- name: org_code
29462946
in: path
@@ -2987,6 +2987,47 @@ paths:
29872987
description: Request was throttled.
29882988
security:
29892989
- kindeBearerAuth: []
2990+
/api/v1/organization/{org_code}/handle:
2991+
delete:
2992+
tags:
2993+
- Organizations
2994+
operationId: DeleteOrganizationHandle
2995+
description: |
2996+
Delete organization handle
2997+
summary: Delete organization handle
2998+
parameters:
2999+
- name: org_code
3000+
in: path
3001+
description: The organization's code.
3002+
required: true
3003+
schema:
3004+
type: string
3005+
nullable: false
3006+
responses:
3007+
'200':
3008+
description: Handle successfully deleted.
3009+
content:
3010+
application/json:
3011+
schema:
3012+
$ref: '#/components/schemas/success_response'
3013+
application/json; charset=utf-8:
3014+
schema:
3015+
$ref: '#/components/schemas/success_response'
3016+
'400':
3017+
description: Bad request.
3018+
content:
3019+
application/json:
3020+
schema:
3021+
$ref: '#/components/schemas/error_response'
3022+
application/json; charset=utf-8:
3023+
schema:
3024+
$ref: '#/components/schemas/error_response'
3025+
'403':
3026+
description: Invalid credentials.
3027+
'429':
3028+
description: Request was throttled.
3029+
security:
3030+
- kindeBearerAuth: []
29903031
/api/v1/permissions:
29913032
get:
29923033
tags:
@@ -3367,6 +3408,14 @@ paths:
33673408
description: >-
33683409
Whether the property can be included in id and access
33693410
tokens.
3411+
category_id:
3412+
description: Which category the property belongs to.
3413+
type: string
3414+
nullable: false
3415+
required:
3416+
- name
3417+
- is_private
3418+
- category_id
33703419
responses:
33713420
'200':
33723421
description: Property successfully updated.
@@ -4292,13 +4341,20 @@ paths:
42924341
description: The type of identity to create, for e.g. email.
42934342
enum:
42944343
- email
4344+
- username
42954345
details:
42964346
type: object
42974347
description: Additional details required to create the user.
42984348
properties:
42994349
email:
43004350
type: string
43014351
description: The email address of the user.
4352+
phone:
4353+
type: string
4354+
description: The phone number of the user.
4355+
username:
4356+
type: string
4357+
description: The username of the user.
43024358
responses:
43034359
'200':
43044360
description: User successfully created.
@@ -4484,7 +4540,7 @@ paths:
44844540
security:
44854541
- kindeBearerAuth: []
44864542
/api/v1/users/{user_id}/properties/{property_key}:
4487-
patch:
4543+
put:
44884544
tags:
44894545
- Users
44904546
operationId: UpdateUserProperty
@@ -4575,7 +4631,7 @@ paths:
45754631
description: Request was throttled.
45764632
security:
45774633
- kindeBearerAuth: []
4578-
put:
4634+
patch:
45794635
tags:
45804636
- Users
45814637
operationId: UpdateUserProperties
@@ -4627,6 +4683,86 @@ paths:
46274683
description: Request was throttled.
46284684
security:
46294685
- kindeBearerAuth: []
4686+
/api/v1/users/{user_id}/password:
4687+
put:
4688+
tags:
4689+
- Users
4690+
operationId: SetUserPassword
4691+
description: Set user password.
4692+
summary: Set User password
4693+
parameters:
4694+
- name: user_id
4695+
in: path
4696+
description: The identifier for the user
4697+
required: true
4698+
schema:
4699+
type: string
4700+
requestBody:
4701+
description: Password details.
4702+
required: true
4703+
content:
4704+
application/json:
4705+
schema:
4706+
type: object
4707+
properties:
4708+
hashed_password:
4709+
description: The hashed password.
4710+
type: string
4711+
hashing_method:
4712+
description: >-
4713+
The hashing method or algorithm used to encrypt the user’s
4714+
password. Default is bcrypt.
4715+
type: string
4716+
enum:
4717+
- bcrypt
4718+
- crypt
4719+
- md5
4720+
- wordpress
4721+
salt:
4722+
type: string
4723+
description: >-
4724+
Extra characters added to passwords to make them stronger.
4725+
Not required for bcrypt.
4726+
salt_position:
4727+
type: string
4728+
description: >-
4729+
Position of salt in password string. Not required for
4730+
bcrypt.
4731+
enum:
4732+
- prefix
4733+
- suffix
4734+
is_temporary_password:
4735+
type: boolean
4736+
description: >-
4737+
The user will be prompted to set a new password after
4738+
entering this one.
4739+
required:
4740+
- hashed_password
4741+
responses:
4742+
'200':
4743+
description: User successfully created.
4744+
content:
4745+
application/json:
4746+
schema:
4747+
$ref: '#/components/schemas/success_response'
4748+
application/json; charset=utf-8:
4749+
schema:
4750+
$ref: '#/components/schemas/success_response'
4751+
'400':
4752+
description: Error creating user.
4753+
content:
4754+
application/json:
4755+
schema:
4756+
$ref: '#/components/schemas/error_response'
4757+
application/json; charset=utf-8:
4758+
schema:
4759+
$ref: '#/components/schemas/error_response'
4760+
'403':
4761+
description: Invalid credentials.
4762+
'429':
4763+
description: Request was throttled.
4764+
security:
4765+
- kindeBearerAuth: []
46304766
components:
46314767
schemas:
46324768
success_response:
@@ -4664,6 +4800,9 @@ components:
46644800
preferred_email:
46654801
type: string
46664802
description: Default email address of the user in Kinde.
4803+
username:
4804+
type: string
4805+
description: Primary username of the user in Kinde.
46674806
last_name:
46684807
type: string
46694808
description: User's last name.
@@ -4759,6 +4898,9 @@ components:
47594898
email:
47604899
type: string
47614900
description: Default email address of the user in Kinde.
4901+
username:
4902+
type: string
4903+
description: Primary username of the user in Kinde.
47624904
last_name:
47634905
type: string
47644906
description: User's last name.
@@ -4853,6 +4995,9 @@ components:
48534995
preferred_email:
48544996
type: string
48554997
description: Default email address of the user in Kinde.
4998+
username:
4999+
type: string
5000+
description: Primary username of the user in Kinde.
48565001
provided_id:
48575002
type: string
48585003
description: >-

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kinde-oss/kinde-typescript-sdk",
3-
"version": "2.8.0",
3+
"version": "2.9.0",
44
"description": "Kinde Typescript SDK",
55
"main": "dist-cjs/index.js",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)