Skip to content

Commit 018e43e

Browse files
authored
Make name optional for 'security.create_service_token' API
1 parent 412473d commit 018e43e

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

output/schema/schema.json

Lines changed: 17 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/security/create_service_token/CreateServiceTokenRequest.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { Name, Namespace, Service } from '@_types/common'
22+
import { Refresh } from '@_types/common'
2223

2324
/**
25+
* Creates a service accounts token for access without requiring basic authentication.
2426
* @rest_spec_name security.create_service_token
2527
* @since 0.0.0
2628
* @stability stable
@@ -29,6 +31,9 @@ export interface Request extends RequestBase {
2931
path_parts: {
3032
namespace: Namespace
3133
service: Service
32-
name: Name
34+
name?: Name
35+
}
36+
query_parameters: {
37+
refresh?: Refresh
3338
}
3439
}

0 commit comments

Comments
 (0)