docs: fix wrong examples and links (#8780)

# Which Problems Are Solved

- The addorgmember request shows a wrong example in the api
documentation
- Broken Links on actions feature description

# How the Problems Are Solved

- Change example of AddOrgMember API Docs
- Point towards correct links

---------

Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
This commit is contained in:
Fabi 2024-10-18 10:12:23 +02:00 committed by GitHub
parent 8d97363642
commit 0de2f92d2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -36,5 +36,5 @@ Possible conditions for the Execution:
## Further reading
- [Actions v2 example execution locally](/apis/actionsv2/execution-local)
- [Actions v2 reference](/apis/actionsv2/introduction#action)
- [Actions v2 reference](/apis/actions/v3/usage)
- [Actions v2 example execution locally](/apis/actions/v3/testing-locally)

View File

@ -9208,7 +9208,7 @@ message AddOrgMemberRequest {
string user_id = 1 [(validate.rules).string = {min_len: 1, max_len: 200}];
repeated string roles = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "[\"IAM_OWNER\"]";
example: "[\"ORG_OWNER\"]";
description: "If no roles are provided the user won't have any rights"
}
];