ModifyProjectAccountNotifications Method

Description

Modifies the account notification settings for a project.

HTTP Request

PUT https://api.skeddly.com/api/Projects/<id>/Notifications/AccountNotifications

URL Parameters

Id

ID of the project.

Type: string

Required: Yes

Body

The body is a JSON structure with the following properties.

accountNotifications

Indicates whether account notifications should apply to this project.

Type: string

Valid Values:

  • allow

  • block

Required: Yes

Returns

A Project object.

Sample Request

PUT /api/Projects/proj-00000001/Notifications/AccountNotifications HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>
Content-Type: application/json

{
    "accountNotifications": "block"
}

Sample Response

{
    "projectId": "proj-12345678",
    "name": "My Project",
    "status": "active",
    
    "isDefault": false,
    
    "createdDate": "2022-12-26T12:00:00:Z",
    "lastModifiedDate": "2023-01-26T12:00:00:Z",
    "lastModifiedBy": "u-12345678",
    
    "accountNotifications": "block"
}

Last updated