Services_stopService

Pause service.

SecuritybearerAuth
Request
path Parameters
id
required
string

Service id.

query Parameters
force
string

optional - terminate old replicas immediately

Responses
200

Ok

post/services/{id}/stop
Request samples

success = package.services.pause(service_id='service_id')

# 
# Pause service.
# 
# **Prerequisites**: You must be in the role of an *owner* or *developer*. You must have a package.
# 
# You must provide at least ONE of the following params: service_id, service_name
# 
# :param str service_name: service name
# :param str service_id: service id
# :param bool force: optional - terminate old replicas immediately
# :return: True if success
# :rtype: bool
# 
# 
Response samples
application/json
{ }