Warning: When you use this call, we suggest that you know what you do.

live_help Notes

assignment This action requires one of theses roles: Advanced staff
group_work Requires following application scopes: tig

settings Params

Param name Description
id required . Must be String

The requested id

community_service optional , nil allowed . Must be a Hash
community_service[duration] optional . Must be Fixnum

The duration.

community_service[occupation] optional , nil allowed . Must be String

The occupation.

community_service[schedule_at] optional , nil allowed . Must be Fixnum

The schedule at. Must be after today. Must be before 2 weeks from now.

community_service[close_id] optional , nil allowed . Must be Fixnum

The close id.

community_service[tiger_id] optional , nil allowed . Must be Fixnum

The tiger id.

comments powered by <span class='logo-disqus'>Disqus</span>
DELETE /v2/community_services/1.json
curl  -X DELETE -H "Authorization: Bearer YOUR_ACCESS_TOKEN" "https://api.intra.42.fr/v2/community_services/1.json"
require "oauth2"
UID = "Your application uid"
SECRET = "Your application secret"
client = OAuth2::Client.new(UID, SECRET, site: "https://api.intra.42.fr")
token = client.client_credentials.get_token

response = token.delete("/v2/community_services/1.json")
# => 204
# =>