Archive space
Archive the given Space identified by spaceKey. This method is idempotent i.e., if the Space is already archived then no action will be taken.
PUT
/rest/api/space/{spaceKey}/archivePath parameters
spaceKeystringrequiredthe key of the space to update.
Responses
204
No Content if the Space is archived successfully or already has status 'ARCHIVED'.
401
Returned if the calling user is not authenticated.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring403
Returned if the calling user does not have permission to edit the Space.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring404
Returned if there is no space with the given key, or if the calling user does not have permission to view it.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring