|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: | |
| 4 | + {"data":{"attributes":{"handle":"test-handle-ae403c8f160ec46f","name":"test-name-ae403c8f160ec46f"},"type":"team"}} |
| 5 | + form: {} |
| 6 | + headers: |
| 7 | + Accept: |
| 8 | + - application/json |
| 9 | + Content-Type: |
| 10 | + - application/json |
| 11 | + id: 0 |
| 12 | + method: POST |
| 13 | + url: https://api.datadoghq.com/api/v2/team |
| 14 | + response: |
| 15 | + body: '{"data":{"id":"38c0d1d3-69c0-4452-95a0-0115b22f2607","type":"team","attributes":{"avatar":null,"banner":13,"created_at":"2026-02-12T14:59:47.252294+00:00","description":null,"handle":"test-handle-ae403c8f160ec46f","hidden_modules":null,"is_managed":false,"link_count":0,"modified_at":"2026-02-12T14:59:47.252294+00:00","name":"test-name-ae403c8f160ec46f","summary":null,"user_count":0,"visible_modules":null},"relationships":{"team_links":{"data":[],"links":{"related":"/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/links"}},"user_team_permissions":{"data":null,"links":{"related":"/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/permission-settings"}}}}}' |
| 16 | + code: 201 |
| 17 | + duration: 0ms |
| 18 | + headers: |
| 19 | + Content-Type: |
| 20 | + - application/vnd.api+json |
| 21 | + status: 201 Created |
| 22 | +- request: |
| 23 | + body: | |
| 24 | + {"data":{"attributes":{"email":"Test-Update_a_user_s_membership_attributes_on_a_team_returns_OK_response-1770908386@datadoghq.com","title":"user title"},"type":"users"}} |
| 25 | + form: {} |
| 26 | + headers: |
| 27 | + Accept: |
| 28 | + - application/json |
| 29 | + Content-Type: |
| 30 | + - application/json |
| 31 | + id: 1 |
| 32 | + method: POST |
| 33 | + url: https://api.datadoghq.com/api/v2/users |
| 34 | + response: |
| 35 | + body: '{"data":{"type":"users","id":"3330c2ed-ac5d-458e-875b-ffc85c436edc","attributes":{"name":null,"handle":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","created_at":"2026-02-12T14:59:47.812309+00:00","modified_at":"2026-02-12T14:59:47.812309+00:00","email":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","icon":"https://secure.gravatar.com/avatar/7906350a0aeb9c3285de81609654b5df?s=48&d=retro","title":"user |
| 36 | + title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending","last_login_time":null},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}} |
| 37 | +
|
| 38 | + ' |
| 39 | + code: 201 |
| 40 | + duration: 0ms |
| 41 | + headers: |
| 42 | + Content-Type: |
| 43 | + - application/json |
| 44 | + status: 201 Created |
| 45 | +- request: |
| 46 | + body: | |
| 47 | + {"data":{"attributes":{"role":"admin"},"relationships":{"user":{"data":{"id":"3330c2ed-ac5d-458e-875b-ffc85c436edc","type":"users"}}},"type":"team_memberships"}} |
| 48 | + form: {} |
| 49 | + headers: |
| 50 | + Accept: |
| 51 | + - application/json |
| 52 | + Content-Type: |
| 53 | + - application/json |
| 54 | + id: 2 |
| 55 | + method: POST |
| 56 | + url: https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships |
| 57 | + response: |
| 58 | + body: '{"data":{"id":"TeamMembership-38c0d1d3-69c0-4452-95a0-0115b22f2607-65393600","type":"team_memberships","attributes":{"provisioned_by":null,"provisioned_by_id":"3ad549bf-eba0-11e9-a77a-0705486660d0","role":"admin"},"relationships":{"user":{"data":{"id":"3330c2ed-ac5d-458e-875b-ffc85c436edc","type":"users"}}}},"included":[{"id":"3330c2ed-ac5d-458e-875b-ffc85c436edc","type":"users","attributes":{"disabled":false,"email":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","handle":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","icon":"https://secure.gravatar.com/avatar/7906350a0aeb9c3285de81609654b5df?d=retro\u0026s=48","name":null,"service_account":false,"status":"Pending"}}]}' |
| 59 | + code: 200 |
| 60 | + duration: 0ms |
| 61 | + headers: |
| 62 | + Content-Type: |
| 63 | + - application/vnd.api+json |
| 64 | + status: 200 OK |
| 65 | +- request: |
| 66 | + body: | |
| 67 | + {"data":{"attributes":{"role":"admin"},"type":"team_memberships"}} |
| 68 | + form: {} |
| 69 | + headers: |
| 70 | + Accept: |
| 71 | + - application/json |
| 72 | + Content-Type: |
| 73 | + - application/json |
| 74 | + id: 3 |
| 75 | + method: PATCH |
| 76 | + url: https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships/3330c2ed-ac5d-458e-875b-ffc85c436edc |
| 77 | + response: |
| 78 | + body: '{"data":{"type":"team_memberships","id":"TeamMembership-38c0d1d3-69c0-4452-95a0-0115b22f2607-65393600","attributes":{"role":"admin","provisioned_by":null,"provisioned_by_id":"3ad549bf-eba0-11e9-a77a-0705486660d0"},"relationships":{"user":{"data":{"type":"users","id":"3330c2ed-ac5d-458e-875b-ffc85c436edc"}}}},"included":[{"type":"users","id":"3330c2ed-ac5d-458e-875b-ffc85c436edc","attributes":{"name":null,"handle":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","email":"test-update_a_user_s_membership_attributes_on_a_team_returns_ok_response-1770908386@datadoghq.com","icon":"https://secure.gravatar.com/avatar/7906350a0aeb9c3285de81609654b5df?s=48&d=retro","disabled":false,"service_account":false}}]} |
| 79 | +
|
| 80 | + ' |
| 81 | + code: 200 |
| 82 | + duration: 0ms |
| 83 | + headers: |
| 84 | + Content-Type: |
| 85 | + - application/json |
| 86 | + status: 200 OK |
| 87 | +- request: |
| 88 | + body: '' |
| 89 | + form: {} |
| 90 | + headers: |
| 91 | + Accept: |
| 92 | + - '*/*' |
| 93 | + id: 4 |
| 94 | + method: DELETE |
| 95 | + url: https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships/3330c2ed-ac5d-458e-875b-ffc85c436edc |
| 96 | + response: |
| 97 | + body: '' |
| 98 | + code: 204 |
| 99 | + duration: 0ms |
| 100 | + headers: {} |
| 101 | + status: 204 No Content |
| 102 | +- request: |
| 103 | + body: '' |
| 104 | + form: {} |
| 105 | + headers: |
| 106 | + Accept: |
| 107 | + - '*/*' |
| 108 | + id: 5 |
| 109 | + method: DELETE |
| 110 | + url: https://api.datadoghq.com/api/v2/users/3330c2ed-ac5d-458e-875b-ffc85c436edc |
| 111 | + response: |
| 112 | + body: '' |
| 113 | + code: 204 |
| 114 | + duration: 0ms |
| 115 | + headers: {} |
| 116 | + status: 204 No Content |
| 117 | +- request: |
| 118 | + body: '' |
| 119 | + form: {} |
| 120 | + headers: |
| 121 | + Accept: |
| 122 | + - '*/*' |
| 123 | + id: 6 |
| 124 | + method: DELETE |
| 125 | + url: https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607 |
| 126 | + response: |
| 127 | + body: '' |
| 128 | + code: 204 |
| 129 | + duration: 0ms |
| 130 | + headers: {} |
| 131 | + status: 204 No Content |
| 132 | +version: 2 |
0 commit comments