Fixes documentation of response codes for copy saved objects (#158416)

## Summary

Moves the response codes documented for the copy saved object API to the
correct document file.

Documentation was incorrectly located in
https://github.com/elastic/kibana/pull/158036
This commit is contained in:
Jeramy Soucy 2023-05-24 16:33:29 -04:00 committed by GitHub
parent ba17d3a7ec
commit ab7b2f7f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -69,6 +69,15 @@ NOTE: This option cannot be used with the `createNewCopies` option.
+
NOTE: This option cannot be used with the `createNewCopies` option.
[[spaces-api-copy-saved-objects-response-codes]]
==== Response codes
`200`::
Indicates a successful call.
`404`::
Indicates that the request failed because one or more of the objects specified could not be found. A list of the unresolved objects are included in the 404 response attributes.
[role="child_attributes"]
[[spaces-api-copy-saved-objects-response-body]]
==== {api-response-body-title}

View file

@ -36,15 +36,6 @@ Updates one or more saved objects to add and/or remove them from specified space
`spacesToRemove`::
(Required, string array) The IDs of the spaces the specified objects should be removed from.
[[spaces-api-update-objects-spaces-response-codes]]
==== Response codes
`200`::
Indicates a successful call.
`404`::
Indicates that the request failed because one or more of the objects specified could not be found. A list of the unresolved objects are included in the 404 response attributes.
[role="child_attributes"]
[[spaces-api-update-objects-spaces-response-body]]
==== {api-response-body-title}